Snippets: Expand The “Full-Width Media” For Blog Posts Across The Whole Screen

// Expand The "Full-Width Media" For Blog Posts Across The Whole Screen (by switching hooks)
add_action( 'init', function() {
	remove_action( 'wpex_hook_primary_before', 'wpex_blog_single_media_above' );
	add_action( 'wpex_hook_main_top', 'wpex_blog_single_media_above' );
} );

Snippet Type: PHP

Posted Under: Blog

All PHP snippets should be added via a child theme's functions.php file.