wp-includes/class-wp-rewrite.php


Lines:

1 to 49 of 49
<?php

/**
 * Rewrite API: WP_Rewrite class
 *
 * @package WordPress
 * @subpackage Rewrite
 * @since 1.5.0
 */

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

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      API Letters: ,,,