首页 WordPress函数大全 retrieve_widgets()

retrieve_widgets()

2020-05-02 / 2151阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

retrieve_widgets( string|bool $theme_changed = false )

寻找“丢失的”小部件,它必须至少运行>

Contents

  • Description
    • Parameters
    • Return
    • Source
    • Changelog
  • Related
    • Uses
    • Used By
  • User Contributed Notes

描述

参数

$theme_changed

(string|bool)
(Optional)
Whether the theme was changed as a boolean. A value of 'customize' defers updates for the Customizer.

Default value: false

返回

(array) Updated sidebars widgets.

大家谈论
    我的见解