I would like to filter the function the_excerpt
to stop to find the first endpoint.
Ex: “This is the article summary which ends at the endpoint with a full-stop.”
Any idea is welcome.
I would like to filter the function the_excerpt
to stop to find the first endpoint.
Ex: “This is the article summary which ends at the endpoint with a full-stop.”
Any idea is welcome.
Comments are closed.
First, please make sure you understand the difference between
the_excerpt
andthe_content
. You are asking aboutthe_excerpt
but I suspect that you might actually meanthe_content
. That said…You can filter the
the_excerpt
function with a filter of the same name.