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 '';
		}


User Contributed Notes

You must log in before being able to contribute a note or feedback.