post_type_archive_link filter-hook . WP 1.0
This filter is documented in wp-includes/link-template.php
Usage
add_filter( 'post_type_archive_link', 'filter_function_name_2193', 10, 2 ); function filter_function_name_2193( $link, $post_type ){ // filter... return $link; }
- $link
- -
- $post_type
- -
Where the hook is called
post_type_archive_link
wp-includes/link-template.php 1237
return apply_filters( 'post_type_archive_link', $link, $post_type );
wp-includes/link-template.php 1264
return apply_filters( 'post_type_archive_link', $link, $post_type );