Snippet: How to Override Default Post “Block” Section
// Example for overriding a default Blog Post "block" or section
// You can add print_r( $blocks ) inside your function and refresh your page to view a list of all available blocks on your site
add_filter( 'totaltheme/blog/single_blocks', function( $blocks ) {
$blocks['featured_media'] = function() {
echo 'My custom featured media output';
};
return $blocks;
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend WPCode)