_acf_delete_escaped_html_log()
Deletes the array of instances where HTML was altered due to escaping in the_field or a shortcode. Since 6.2.7, also clears the legacy acf_will_escape_html_log option to clean up.
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_delete_escaped_html_log();
Changelog
| Since 6.2.5 | Introduced. |
_acf_delete_escaped_html_log() acf delete escaped html log code ACF 6.8.8
function _acf_delete_escaped_html_log() {
delete_option( 'acf_will_escape_html_log' );
return delete_option( 'acf_escaped_html_log' );
}