acf_trash_ui_options_page()ACF 6.2

Trashes an ACF UI options page.

No Hooks.

Returns

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

Usage

acf_trash_ui_options_page( $id );
$id(int|string)
The UI options page ID, key, or name.

Changelog

Since 6.2 Introduced.

acf_trash_ui_options_page() code ACF 6.8.8

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