Home Plugin documentation Hooks and functions Filters pip/options/capability



Here we go!



Heads up!

This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don’t provide support for code customizations or 3rd party development.

This filter allows you to manage the required capability to see Pilo’Press pages


Default value : acf_get_setting( ‘capability’ ) which default value is manage_options

add_filter( 'pip/options/capability', function ( $capability ) {
    return acf_get_setting( 'capability' );
} );

You didn’t find the answer you were looking for?

or you think a specific topic deserve more informations?


Wave to bottom