
站长必备技能:浏览器缓存数据怎么清理?
wp_dashboard_empty ( No parameters )
wp_dashboard_empty: 这是一个过滤钩子,允许你控制WordPress仪表盘在没有小工具时是否为空。默认情况下,当没有其他小工具时,仪表盘会显示”欢迎来到WordPress”小工具。
插件可使用Empty函数来输出空的仪表盘小工具(稍后由JS填充)。
function wp_dashboard_empty() {} /** * Displays a welcome panel to introduce users to WordPress. * * @since 3.3.0 * @since 5.9.0 Send users to the Site Editor if the active theme is block-based. */