WP_Rewrite
Methods
1 to 30 of 36
- WP_Rewrite::__construct() – Constructor – Calls init(), which runs setup.
- WP_Rewrite::add_endpoint() – Adds an endpoint, like /trackback/.
- WP_Rewrite::add_external_rule() – Adds a rewrite rule that doesn’t correspond to index.php.
- WP_Rewrite::add_permastruct() – Adds a new permalink structure.
- WP_Rewrite::add_rewrite_tag() – Adds or updates existing rewrite tags (e.g. %postname%).
- WP_Rewrite::add_rule() – Adds a rewrite rule that transforms a URL structure to a set of query vars.
- WP_Rewrite::flush_rules() – Removes rewrite rules and then recreate rewrite rules.
- WP_Rewrite::generate_rewrite_rule() – Generates rewrite rules with permalink structure and walking directory only.
- WP_Rewrite::generate_rewrite_rules() – Generates rewrite rules from a permalink structure.
- WP_Rewrite::get_author_permastruct() – Retrieves the author permalink structure.
- WP_Rewrite::get_category_permastruct() – Retrieves the permalink structure for categories.
- WP_Rewrite::get_comment_feed_permastruct() – Retrieves the comment feed permalink structure.
- WP_Rewrite::get_date_permastruct() – Retrieves date permalink structure, with year, month, and day.
- WP_Rewrite::get_day_permastruct() – Retrieves the day permalink structure with month and year.
- WP_Rewrite::get_extra_permastruct() – Retrieves an extra permalink structure by name.
- WP_Rewrite::get_feed_permastruct() – Retrieves the feed permalink structure.
- WP_Rewrite::get_month_permastruct() – Retrieves the month permalink structure without day and with year.
- WP_Rewrite::get_page_permastruct() – Retrieves the page permalink structure.
- WP_Rewrite::get_search_permastruct() – Retrieves the search permalink structure.
- WP_Rewrite::get_tag_permastruct() – Retrieve the permalink structure for tags.
- WP_Rewrite::get_year_permastruct() – Retrieves the year permalink structure without month and day.
- WP_Rewrite::iis7_url_rewrite_rules() – Retrieves IIS7 URL Rewrite formatted rewrite rules to write to web.config file.
- WP_Rewrite::init() – Sets up the object’s properties.
- WP_Rewrite::mod_rewrite_rules() – Retrieves mod_rewrite-formatted rewrite rules to write to .htaccess.
- WP_Rewrite::page_rewrite_rules() – Retrieves all of the rewrite rules for pages.
- WP_Rewrite::page_uri_index() – Retrieves all page and attachments for pages URIs.
- WP_Rewrite::preg_index() – Indexes for matches for usage in preg_*() functions.
- WP_Rewrite::remove_permastruct() – Removes a permalink structure.
- WP_Rewrite::remove_rewrite_tag() – Removes an existing rewrite tag.
- WP_Rewrite::set_category_base() – Sets the category base for the category permalink.