WC_Admin::disable_webhook_post_export()
Disable WXR export of scheduled action posts.
Метод класса: WC_Admin{}
Хуков нет.
Возвращает
Массив
.
Использование
$WC_Admin = new WC_Admin(); $WC_Admin->disable_webhook_post_export( $args );
- $args(массив) (обязательный)
- Scheduled action post type registration args.
Список изменений
С версии 3.6.2 | Введена. |
Код WC_Admin::disable_webhook_post_export() WC Admin::disable webhook post export WC 8.7.0
public function disable_webhook_post_export( $args ) { $args['can_export'] = false; return $args; }