Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Filter: curatewp_section_layout_args
<?php
add_filter( 'curatewp_section_layout_args', function( $layout_args, $section ) {
// Change all section featured posts layout to the "Hero".
$layout_args['layout-featured-posts'] = 'hero';
return $layout_args;
}, 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.