You appear to be a bot. Output may be restricted
Description
List the APIs for the selected filenameThis function is similar to _oiksc_get_apis() except it returns an array of objects
Usage
$array = _oiksc_get_apis2( $file, $reload, $component_type, $component_slug );
Parameters
- $file
- ( string ) required – file name
- $reload
- ( bool ) required – causes the static $apis array to be rebuilt
- $component_type
- ( string ) required –
plugin theme - $component_slug
- ( string ) required – the plugin / theme name
Returns
array array of oiksc_token_objectsSource
File name: oik-shortcodes/admin/oik-apis.php
Lines:1 to 13 of 13function _oiksc_get_apis2( $file, $reload, $component_type, $component_slug ) { static $apis = null; if ( !$apis || $reload ) { if ( $file ) { //oik_require( "admin/oik-apis.php", "oik-shortcodes" ); oik_require( "classes/oik-listapis2.php", "oik-shortcodes" ); $apis = oiksc_list_file_functions2( $file, $component_type, $component_slug ); } else { $apis = array(); } } return( $apis ); }
View on GitHub