操作挂钩:将所有管理页的脚本排队。
do_action( ‘admin_enqueue_scripts’, string $hook_suffix )
参数(Parameters)
| 参数 | 类型 | 说明 |
|---|---|---|
| $hook_suffix | (string) | 当前的管理页。 |
| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 2.8.0 | wp-admin/admin-header.php:104 | 3 | 0 |
笔记(Notes)
在管理中有选择地将脚本排队
找出你的$hook名字
操作挂钩:将所有管理页的脚本排队。
do_action( ‘admin_enqueue_scripts’, string $hook_suffix )
| 参数 | 类型 | 说明 |
|---|---|---|
| $hook_suffix | (string) | 当前的管理页。 |
| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 2.8.0 | wp-admin/admin-header.php:104 | 3 | 0 |
在管理中有选择地将脚本排队
找出你的$hook名字
之前