Definition:
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/".
Parameters
- unknown_type $name
- unknown_type $places
Source code
function add_rewrite_endpoint($name, $places) {
global $wp_rewrite;
$wp_rewrite->add_endpoint($name, $places);
}
289

February 11, 2011 


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