Make WordPress Core

Changeset 52297


Ignore:
Timestamp:
12/01/2021 09:18:20 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Use a duplicate hook reference for theme_file_path in WP_Theme::get_file_path().

Follow-up to [38578], [52279].

See #51506, #53399.

File:
1 edited

Legend:

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

    r52279 r52297  
    15081508                }
    15091509
    1510                 /**
    1511                  * Filters the path to a file in the theme.
    1512                  *
    1513                  * @since 5.9.0
    1514                  *
    1515                  * @param string $path The file path.
    1516                  * @param string $file The requested file to search for.
    1517                  */
     1510                /** This filter is documented in wp-includes/link-template.php */
    15181511                return apply_filters( 'theme_file_path', $path, $file );
    15191512        }
Note: See TracChangeset for help on using the changeset viewer.