Hello,
I want to exclude page templates that use the template named monthly-page.php. I tried to use the following filter from the docs, but it didn't work. Can you point me in the right direction?
I want to exclude page templates that use the template named monthly-page.php. I tried to use the following filter from the docs, but it didn't work. Can you point me in the right direction?
add_filter( 'weeblramp_should_amplify_page', function ( $shouldAmplifyPage ) { if ( is_page_template('monthly-page.php') ) { $shouldAmplifyPage = false; } } return $shouldAmplifyPage; }, 10, 2 );