GC_Customize_Nav_Menus::make_auto_draft_status_previewable()

最后更新于:2021-11-27 04:27:04

GC_Customize_Nav_Menus::make_auto_draft_status_previewable()

Make the auto-draft status protected so that it can be queried.

源文件

文件: gc-includes/class-gc-customize-nav-menus.php

	public function make_auto_draft_status_previewable() {
		global $gc_post_statuses;
		$gc_post_statuses['auto-draft']->protected = true;
	}