You appear to be a bot. Output may be restricted
Description
Return the registered oik-plugins
Usage
oiksc_load_all_plugins( $components );
Parameters
- $components
- ( mixed ) required –
Returns
void
Source
File name: oik-shortcodes/admin/oik-create-apis.php
Lines:
1 to 12 of 12
function oiksc_load_all_plugins( $components ) { oik_require( "includes/bw_posts.php" ); $atts = array( "post_type" => "oik-plugins" , "numberposts" => -1 ); $posts = bw_get_posts( $atts ); foreach ( $posts as $post ) { $component = get_post_meta( $post->ID, "_oikp_slug", true ); $components[] = $component; } return( $components ); }