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_pages()
Retrieves an array of pages (or hierarchical post type items).
-
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.
-
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.
-
Constructor – Calls init(), which runs setup.
-
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.
-
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 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.
-
Filters rewrite rules used for author archives.
-
Retrieves the comment feed permalink structure.
-
Filters rewrite rules used for “page” post type archives.
-
Adds or updates existing rewrite tags (e.g. %postname%).
-
Generates rewrite rules from a permalink structure.
-
Generates rewrite rules with permalink structure and walking directory only.
-
Constructs rewrite matches and queries from permalink structure.