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