You appear to be a bot. Output may be restricted
Description
Returns the component type
Usage
md5_hasher::get_component_type( $component_id );
Parameters
- $component_id
- ( ID ) required –
Returns
voidSource
File name: oik-shortcodes/admin/set_md5_hash.phpLines:
1 to 24 of 24
function get_component_type( $component_id ) { $post= bw_array_get( $this->components, $component_id, null ); if ( $post ) { global $plugin_post; $plugin_post = $post; switch ( $post->post_type ) { case "oik-plugins": $component_type = "plugin"; break; case "oik-themes": $component_type = "theme"; break; default: gob(); break; } } else { gob(); } return( $component_type ); }View on GitHub