search_replace_access_capability

search_replace_access_capability

Hook Type: filter

See hook in core

Displaying hooks found in version: search-and-replace.3.2.3

apply_filters('search_replace_access_capability') is found 1 times:

  • /inpsyde-search-replace.php line 83
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    define( 'SEARCH_REPLACE_BASEDIR', plugin_dir_url( __FILE__ ) );
     
    search_replace_textdomain();
     
    $user_cap = apply_filters( 'search_replace_access_capability', 'manage_options' );
    $file     = __DIR__ . '/vendor/autoload.php';
     
    if ( ! current_user_can( $user_cap ) || ! file_exists( $file ) ) {
        return false;
    }