Great thanks for your reply.
But unfortunately it didn’t helped. Nothing changed.
I make something like that:
echo '<div><p>Hello World!</p></div>';
Is it OK?
But I thinks maybe it has something to do with registering the endpoint. There is line like that:
add_rewrite_endpoint( 'my-custom-endpoint', EP_ROOT | EP_PAGES );
Shouldn’t it be instead EP_PAGES
something else? But what?
-
This reply was modified 4 years, 9 months ago by pajczur.