regenerate_thumbs_cap
regenerate_thumbs_cap
Appears in: regenerate-thumbnails.3.0.2, regenerate-thumbnails.3.1.0, regenerate-thumbnails.3.1.1, regenerate-thumbnails.3.1.2, regenerate-thumbnails.3.1.3, regenerate-thumbnails.3.1.4, regenerate-thumbnails.3.1.5, regenerate-thumbnails.3.1.6
Hook Type: filter
Displaying hooks found in version: regenerate-thumbnails.3.1.6apply_filters('regenerate_thumbs_cap') is found 1 times:
- /regenerate-thumbnails.php line 124
require dirname( __FILE__ ) . '/includes/class-regeneratethumbnails-regenerator.php'; require dirname( __FILE__ ) . '/includes/class-regeneratethumbnails-rest-controller.php'; // Allow people to change what capability is required to use this plugin. $this->capability = apply_filters( 'regenerate_thumbs_cap', $this->capability ); // Initialize the REST API routes. add_action( 'rest_api_init', array( $this, 'rest_api_init' ) ); // Add a new item to the Tools menu in the admin menu. add_action( 'admin_menu', array( $this, 'add_admin_menu' ) );