Make WordPress Core


Ignore:
Timestamp:
06/19/2020 10:24:14 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Corrections and improvements to inline docs related to XML sitemaps.

See #50117, #49572

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/sitemaps/class-wp-sitemaps-provider.php

    r48093 r48098  
    6262     * @since 5.5.0
    6363     *
    64      * @return array List of sitemap types including object subtype name and number of pages.
     64     * @return array[] Array of sitemap types including object subtype name and number of pages.
    6565     */
    6666    public function get_sitemap_type_data() {
     
    9999     * @since 5.5.0
    100100     *
    101      * @return array List of sitemaps.
     101     * @return array[] Array of sitemap entries.
    102102     */
    103103    public function get_sitemap_entries() {
     
    121121                 * @param string $object_subtype Object subtype name.
    122122                 *                               Empty string if the object type does not support subtypes.
    123                  * @param string $page           Page of results.
     123                 * @param int    $page           Page number of results.
    124124                 */
    125125                $sitemap_entry = apply_filters( 'wp_sitemaps_index_entry', $sitemap_entry, $this->object_type, $type['name'], $page );
Note: See TracChangeset for help on using the changeset viewer.