acf_third_party::tabify_posttypes() public ACF 3.5.1
This function removes ACF post types from the tabify edit screen (post type selection sidebar)
{} Это метод класса: acf_third_party{}
Хуков нет.
Возвращает
$post_id. (int)
Использование
$acf_third_party = new acf_third_party(); $acf_third_party->tabify_posttypes( $posttypes );
- $posttypes (обязательный)
- -
Список изменений
С версии 3.5.1 | Введена. |
Код acf_third_party::tabify_posttypes() acf third party::tabify posttypes ACF 5.9.1
function tabify_posttypes( $posttypes ) {
// unset
unset( $posttypes['acf-field-group'] );
unset( $posttypes['acf-field'] );
// return
return $posttypes;
}