acf_untrash_ui_options_page()ACF 6.2

Restores an ACF UI options page from the trash.

Хуков нет.

Возвращает

true|false. True if the options page was untrashed.

Использование

acf_untrash_ui_options_page( $id );
$id(int|строка)
The UI options page ID, key, or name.

Список изменений

С версии 6.2 Введена.

Код acf_untrash_ui_options_page() ACF 6.4.2

function acf_untrash_ui_options_page( $id = 0 ) {
	return acf_untrash_internal_post_type( $id, 'acf-ui-options-page' );
}