GC_Dependencies::do_item()
最后更新于:2021-11-27 14:17:26
GC_Dependencies::do_item( string$handle, int|false$group=false)Processes a dependency.
参数
- $handle
-
(string) (Required) Name of the item. Should be unique.
- $group
-
(int|false) (Optional) Group level: level (int), no groups (false).
Default value: false
响应
(bool) True on success, false if not set.
源文件
文件: gc-includes/class.gc-dependencies.php
public function do_item( $handle, $group = false ) {
return isset( $this->registered[ $handle ] );
}