acf_get_legacy_block_version_notice_option() │ ACF 6.8.8.1

Returns the site-wide dismissal option name for a legacy block notice context.

Хуков нет.

Возвращает

string. The option name used to store the dismissal.

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

acf_get_legacy_block_version_notice_option( $context );
$context(строка) (обязательный)
The notice context: 'pre_upgrade' or 'post_upgrade'.

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

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

Код acf_get_legacy_block_version_notice_option() ACF 6.8.11

function acf_get_legacy_block_version_notice_option( $context ) {
	return 'acf_legacy_block_version_notice_dismissed_' . $context;
}