You appear to be a bot. Output may be restricted
Description
Return the component ID for the name
Usage
oiksc_get_component_by_name( $component_name );
Parameters
- $component_name
- ( mixed ) required –
Returns
voidSource
File name: oik-shortcodes/admin/oik-create-codes.phpLines:
1 to 12 of 12
function oiksc_get_component_by_name( $component_name ) { $component_type=oiksc_query_component_type( $component_name ); $plugin_post =oiksc_load_component( $component_name, $component_type ); if ( $plugin_post ) { $component_id=$plugin_post->ID; } else { gob(); } return ( $component_id ); }View on GitHub