ACF_Internal_Post_Type::export_post_as_phppublicACF 6.1

Returns a string containing PHP code that can be used to create the post in ACF.

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

Хуков нет.

Возвращает

Строку.

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

$ACF_Internal_Post_Type = new ACF_Internal_Post_Type();
$ACF_Internal_Post_Type->export_post_as_php( $post );
$post(массив)
The post being exported.
По умолчанию: array()

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

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

Код ACF_Internal_Post_Type::export_post_as_php() ACF 6.4.2

public function export_post_as_php( $post = array() ) {
	return '';
}