function add_rewrite_endpoint($name, $places) {}

Add an endpoint, like /trackback/.
The endpoints are added to the end of the request. So a request matching "/2008/10/14/my_post/myep/", the endpoint will be "/myep/".


  • unknown_type $name
  • unknown_type $places

Source code

function add_rewrite_endpoint($name, $places) {

	global $wp_rewrite;

	$wp_rewrite->add_endpoint($name, $places);



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: