acf_get_ui_options_page_post()
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() 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' );
}