BSF_Update_Manager::bsf_get_plugin_slug( array $template )
Get Plugin’s slug.
Description
Parameters
- $template
-
(array) (Required) Template.
Return
($slug.)
Source
File: admin/bsf-core/class-bsf-update-manager.php
public function bsf_get_plugin_slug( $template ) { $slug = explode( '/', $template ); if ( isset( $slug[0] ) ) { return $slug[0]; } return ''; }
Expand full source code Collapse full source code View on Trac