acf_admin_options_page::get_options_page_render_id
Returns the render ID fields on the current options page are rendered for.
Options pages can share a post ID, so fields are rendered for the page rather than the post ID.
Метод класса: acf_admin_options_page{}
Хуков нет.
Возвращает
string.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_options_page_render_id();
Список изменений
| С версии 6.8.11 | Введена. |
Код acf_admin_options_page::get_options_page_render_id() acf admin options page::get options page render id ACF 6.8.11
protected function get_options_page_render_id() {
return 'options/' . $this->page['menu_slug'];
}