You appear to be a bot. Output may be restricted
Description
Usage
wpcom_rest_api_v2_load_plugin( $class_name );
Parameters
- $class_name
- ( mixed ) required –
Returns
void
Source
File name: jetpack/_inc/lib/core-api/load-wpcom-endpoints.php
Lines:
1 to 11 of 11
function wpcom_rest_api_v2_load_plugin( $class_name ) { global $wpcom_rest_api_v2_plugins; if ( ! isset( $wpcom_rest_api_v2_plugins ) ) { $_GLOBALS['wpcom_rest_api_v2_plugins'] = $wpcom_rest_api_v2_plugins = array(); } if ( ! isset( $wpcom_rest_api_v2_plugins[ $class_name ] ) ) { $wpcom_rest_api_v2_plugins[ $class_name ] = new $class_name; } }