Clarify add endpoint phpdoc. Props Denis-de-Bernardy. fixes #9476

git-svn-id: https://develop.svn.wordpress.org/trunk@11102 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-04-27 21:11:01 +00:00
parent 8f15c79dda
commit b05307b90c
1 changed files with 3 additions and 0 deletions

View File

@ -178,6 +178,9 @@ define('EP_ALL', 8191);
* 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/".
*
* Be sure to flush the rewrite rules (wp_rewrite->flush()) when your plugin gets
* activated (register_activation_hook()) and deactivated (register_deactivation_hook())
*
* @since 2.1.0
* @see WP_Rewrite::add_endpoint() Parameters and more description.
* @uses $wp_rewrite