You appear to be a bot. Output may be restricted
Description
Find the component slug
Usage
md5_hasher::get_component_slug( $component_id, $component_type );
Parameters
- $component_id
- ( mixed ) required –
- $component_type
- ( mixed ) required –
Returns
voidTO DO
Remove need for global $pluginSource
File name: oik-shortcodes/admin/set_md5_hash.phpLines:
1 to 10 of 10
function get_component_slug( $component_id , $component_type ) { if ( $component_type == "plugin" ) { $component_slug = get_post_meta( $component_id, "_oikp_slug", true ); } else { $component_slug = get_post_meta( $component_id, "_oikth_slug", true ); } global $plugin; $plugin = $component_slug; return( $component_slug ); }View on GitHub