You appear to be a bot. Output may be restricted
Description
Disable direct access.
Usage
wpcom_rest_api_v2_load_plugin_files( $file_pattern );
Parameters
- $file_pattern
- ( 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_files( $file_pattern ) { $plugins = glob( dirname( __FILE__ ) . '/' . $file_pattern ); if ( ! is_array( $plugins ) ) { return; } foreach ( array_filter( $plugins, 'is_file' ) as $plugin ) { require_once $plugin; } }