ACF_Admin_Internal_Post_Type_List::get_not_found_htmlpublicACF 6.0.0

Get the HTML for when there are no post objects found.

Метод класса: ACF_Admin_Internal_Post_Type_List{}

Хуков нет.

Возвращает

Строку.

Использование

$ACF_Admin_Internal_Post_Type_List = new ACF_Admin_Internal_Post_Type_List();
$ACF_Admin_Internal_Post_Type_List->get_not_found_html();

Список изменений

С версии 6.0.0 Введена.

Код ACF_Admin_Internal_Post_Type_List::get_not_found_html() ACF 6.4.2

public function get_not_found_html() {
	ob_start();

	$view = $this->post_type . '/list-empty';

	if ( $this->is_pro_feature ) {
		$view = ACF_PATH . 'pro/admin/views/' . $view . '.php';
	}

	acf_get_view( $view );

	return ob_get_clean();
}