Snippets Collections
<?php

// Load assets on the "about" page (https://yoursite.com/about/)
// Add the following to your (child) theme's functions.php

add_filter( 'facetwp_load_assets', function( $bool ) {
    if ( 'about' == FWP()->helper->get_uri() ) {
        $bool = true;
    }
    return $bool;
});
star

Tue Mar 28 2023 15:45:00 GMT+0000 (Coordinated Universal Time)

#php #wordpress #facetwp

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension