Changeset 46805
- Timestamp:
- 11/29/2019 10:12:10 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/plugin.php
r46801 r46805 903 903 * @access private 904 904 * 905 * @global array $wp_filter Stores all of the filters and actions.906 * @staticvar int $filter_id_count907 *908 905 * @param string $tag Unused. The name of the filter to build ID for. 909 906 * @param callable $function The function to generate ID for. 910 * @param int $priority Unused. The order in which the functions associated911 * with a particular action are executed.912 * @return string Unique ID for usage as array key.907 * @param int $priority Unused. The order in which the functions 908 * associated with a particular action are executed. 909 * @return string Unique function ID for usage as array key. 913 910 */ 914 911 function _wp_filter_build_unique_id( $tag, $function, $priority ) { 915 global $wp_filter;916 static $filter_id_count = 0;917 918 912 if ( is_string( $function ) ) { 919 913 return $function;
Note: See TracChangeset
for help on using the changeset viewer.