_acf_get_escaped_html_log()
Returns an 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
Array.
Usage
_acf_get_escaped_html_log();
Changelog
| Since 6.2.5 | Introduced. |
_acf_get_escaped_html_log() acf get escaped html log code ACF 6.8.8
function _acf_get_escaped_html_log() {
$escaped = get_option( 'acf_escaped_html_log', array() );
return is_array( $escaped ) ? $escaped : array();
}