do_action( 'relevanssi_pre_the_content' )
do_action( 'relevanssi_post_the_content' )
These parameterless action hooks fire immediately before and after Relevanssi applies the_content
on the excerpt content.
More information
Some Relevanssi default behaviour has been moved to these action hooks. The default behaviour is to run relevanssi_excerpt_pre_the_content()
and relevanssi_kill_autoembed()
on the pre
hook and relevanssi_excerpt_post_the_content()
on the post
hook.
The relevanssi_kill_autoembed()
removes the autoembed discovery functionality (see this knowledge base entry) and the other functions disable and enable the prepend_attachment
hook and make the noindex
shortcode do it’s work.