regenerate_thumbs_cap

regenerate_thumbs_cap

Hook Type: filter

See hook in core

Displaying hooks found in version: regenerate-thumbnails.3.1.6

apply_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' ) );