ACF_Admin_Internal_Post_Type_List::get_current_admin_url
Returns the post type admin URL taking into account the current view.
Метод класса: ACF_Admin_Internal_Post_Type_List{}
Хуков нет.
Возвращает
string.
Использование
$ACF_Admin_Internal_Post_Type_List = new ACF_Admin_Internal_Post_Type_List(); $ACF_Admin_Internal_Post_Type_List->get_current_admin_url( $params );
- $params(строка)
- Extra URL params.
По умолчанию:''
Список изменений
| С версии 5.9.0 | Введена. |
Код ACF_Admin_Internal_Post_Type_List::get_current_admin_url() ACF Admin Internal Post Type List::get current admin url ACF 6.8.8
public function get_current_admin_url( $params = '' ) {
return $this->get_admin_url( ( $this->view ? '&post_status=' . $this->view : '' ) . $params );
}