New and updated in 1.5.0
-
functionupdate_post_caches()
Updates post, term, and metadata caches for a list of post objects.
-
Fires when a post’s status is transitioned from private to published.
-
functionget_enclosed()
Retrieves enclosures already enclosed for a post.
-
functionget_pung()
Retrieves URLs already pinged for a post.
-
functionget_to_ping()
Retrieves URLs that need to be pinged.
-
functionget_page_uri()
Builds the URI path for a page.
-
functionget_pages()
Retrieves an array of pages (or hierarchical post type items).
-
functionadd_ping()
Adds a URL to those already pinged.
-
hooksave_post
Fires once a post has been saved.
-
functionadd_post_meta()
Adds a meta field to the given post.
-
functiondelete_post_meta()
Deletes a post meta field for the given post ID.
-
functionget_post_meta()
Retrieves a post meta field for the given post ID.
-
functionupdate_post_meta()
Updates a post meta field based on the given post ID.
-
methodWP_Rewrite::init()
Sets up the object’s properties.
-
Sets the main permalink structure for the site.
-
Sets the category base for the category permalink.
-
Constructor – Calls init(), which runs setup.
-
Filters the list of rewrite rules formatted for output to an .htaccess file.
-
hookrewrite_rules
Filters the list of rewrite rules formatted for output to an .htaccess file.
-
Fires after the rewrite rules are generated.
-
Filters the full set of generated rewrite rules.
-
Retrieves the rewrite rules.
-
Retrieves mod_rewrite-formatted rewrite rules to write to .htaccess.
-
Filters rewrite rules used for “post” archives.
-
Filters rewrite rules used for date archives.
-
Filters rewrite rules used for root-level archives.
-
Filters rewrite rules used for comment feed archives.
-
Retrieves the page permalink structure.
-
Filters rewrite rules used for search archives.
-
Retrieves the feed permalink structure.