示例#1
0
 /**
  * Sets the current scope.
  *
  * The scope is an internal identifier. When adding a component, it will be added to the currently active scope.
  * Therefore every plugin or theme should define its own unique scope to prevent conflicts.
  *
  * @since 0.5.0
  * @param string $scope the current scope to set
  */
 public function set_scope($scope)
 {
     ComponentManager::set_scope($scope);
 }