_acf_update_escaped_html_log()ACF 6.2.5

Updates the array of instances where HTML was altered due to escaping in the_field or a shortcode.

Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.

No Hooks.

Returns

true|false. True on success, or false on failure.

Usage

_acf_update_escaped_html_log( $escaped );
$escaped(array)
The array of instances.
Default: array()

Changelog

Since 6.2.5 Introduced.

_acf_update_escaped_html_log() code ACF 6.8.8

function _acf_update_escaped_html_log( $escaped = array() ) {
	return update_option( 'acf_escaped_html_log', (array) $escaped, false );
}