acf_get_ui_options_page_post()ACF 6.2

Gets a post object for an ACF UI options page.

No Hooks.

Returns

Object|true|false. The post object, or false on failure.

Usage

acf_get_ui_options_page_post( $id );
$id(int|string) (required)
The post ID, key, or name.

Changelog

Since 6.2 Introduced.

acf_get_ui_options_page_post() code ACF 6.8.8

function acf_get_ui_options_page_post( $id ) {
	return acf_get_internal_post_type_post( $id, 'acf-ui-options-page' );
}