WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
70 | * Passing a non-null value will effectively short-circuit the generation, |
71 | * returning that value instead. |
72 | * |
73 | * @since 5.5.0 |
74 | * |
75 | * @param array $url_list The URL list. Default null. |
76 | * @param string $taxonomy Taxonomy name. |
77 | * @param int $page_num Page of results. |
78 | */ |
79 | $url_list = apply_filters( |
80 | 'wp_sitemaps_taxonomies_pre_url_list', |
81 | null, |
82 | $taxonomy, |
83 | $page_num |
84 | ); |
85 |
|
86 | if ( null !== $url_list ) { |
87 | return $url_list; |
88 | } |