diff --git a/functions.php b/functions.php index 6b1c4d7..d9f242a 100755 --- a/functions.php +++ b/functions.php @@ -18,9 +18,8 @@ function __construct() { add_filter( 'timber_context', array( $this, 'add_to_context' ) ); add_filter( 'get_twig', array( $this, 'add_to_twig' ) ); - add_filter( 'embed_oembed_html', 'alx_embed_html', 10, 3 ); - add_filter( 'video_embed_html', 'alx_embed_html' ); // Jetpack - + //add_filter( 'embed_oembed_html', 'alx_embed_html', 10, 1 ); + add_action( 'init', array( $this, 'register_post_types' ) ); add_action( 'init', array( $this, 'register_taxonomies' ) ); parent::__construct();