ACF_Admin_Post_Types::get_registration_error_statepublicACF 6.1

Returns the registration error state.

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

Хуков нет.

Возвращает

Строку.

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

$ACF_Admin_Post_Types = new ACF_Admin_Post_Types();
$ACF_Admin_Post_Types->get_registration_error_state();

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

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

Код ACF_Admin_Post_Types::get_registration_error_state() ACF 6.4.2

public function get_registration_error_state() {
	return '<span class="acf-js-tooltip dashicons dashicons-warning" title="' .
	__( 'This post type could not be registered because its key is in use by another post type registered by another plugin or theme.', 'acf' ) .
	'"></span> ' . _x( 'Registration Failed', 'post status', 'acf' );
}