ACF_Admin_Post_type::mb_basic_settings
Renders HTML for the basic settings metabox.
Метод класса: ACF_Admin_Post_type{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$ACF_Admin_Post_type = new ACF_Admin_Post_type(); $ACF_Admin_Post_type->mb_basic_settings();
Список изменений
| С версии 5.0.0 | Введена. |
Код ACF_Admin_Post_type::mb_basic_settings() ACF Admin Post type::mb basic settings ACF 6.4.2
public function mb_basic_settings() {
global $acf_post_type;
if ( ! acf_is_internal_post_type_key( $acf_post_type['key'], 'acf-post-type' ) ) {
$acf_post_type['key'] = uniqid( 'post_type_' );
}
acf_get_view( $this->post_type . '/basic-settings' );
}