content_save_pre called twice
-
In WP 5.7.1, hooking into content_save_pre
add_filter('content_save_pre', function ($content) { error_log($content); return $content; });
Each saves in the post editor results in two records in the error log. It appears that this filter is being called twice. Is this a bug?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘content_save_pre called twice’ is closed to new replies.