Filters

Exclude pages - core_framework_exclude_pages

This filter enables you to prevent the loading of the Core Framework stylesheet on front-end pages. Here's how to use it:

add_filter('core_framework_exclude_pages', function($pages) {
    $pages[] = 3; // post id
    $pages[] = "privacy-policy"; // page slugs 
    return $pages;
});

Last updated