wp_unregister_widget_control()
Remove control callback for widget.
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
wp_unregister_widget_control( $id );
- $id(int|строка) (обязательный)
- Widget ID.
Список изменений
С версии 2.2.0 | Введена. |
Код wp_unregister_widget_control() wp unregister widget control WP 6.4.1
function wp_unregister_widget_control( $id ) { wp_register_widget_control( $id, '', '' ); }