rest_enabled, true

rest_enabled, true

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('rest_enabled, true') is found 1 times:

  • /_inc/lib/admin-pages/class.jetpack-admin-page.php line 161
    	 * @return bool
    	 */
    	public function is_rest_api_enabled() {
    		return /** This filter is documented in wp-includes/rest-api/class-wp-rest-server.php */
    			apply_filters( 'rest_enabled', true ) &&
    			/** This filter is documented in wp-includes/rest-api/class-wp-rest-server.php */
    			apply_filters( 'rest_authentication_errors', true );
    	}
    
    	/**
    	 * Checks the site plan and deactivates modules that were active but are no longer included in the plan.