acf_get_ui_options_page_edit_link()
Checks if the current user can edit the UI options page and returns the edit URL.
Хуков нет.
Возвращает
Строку
.
Использование
acf_get_ui_options_page_edit_link( $post_id );
- $post_id(int) (обязательный)
- The ACF UI options page ID.
Список изменений
С версии 6.2 | Введена. |
Код acf_get_ui_options_page_edit_link() acf get ui options page edit link ACF 6.4.2
function acf_get_ui_options_page_edit_link( $post_id ) { return acf_get_internal_post_type_edit_link( $post_id, 'acf-ui-options-page' ); }