Add custom taxonomy to post content body?

Even though extending your custom search would be the proper WP way to solve your problem, the answer to your workaround question would be the below function: function change_content_on_save($post_id, $post, $update) { if ($_SERVER[‘REQUEST_METHOD’] !== ‘POST’ || empty($_POST)) return; if (defined(‘DOING_AUTOSAVE’) && DOING_AUTOSAVE) return; if (!current_user_can(‘edit_post’, $post_id)) return; // create your terms list and insert … Read more