acf_delete_ui_options_page()ACF 6.2

Deletes an ACF UI options page from the database.

No Hooks.

Returns

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

Usage

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

Changelog

Since 6.2 Introduced.

acf_delete_ui_options_page() code ACF 6.8.8

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