get_the_guid filter-hook . WP 1.0
This filter is documented in wp-includes/post-template.php
Usage
add_filter( 'get_the_guid', 'filter_function_name_9464', 10, 2 ); function filter_function_name_9464( $guid, $ID ){ // filter... return $guid; }
- $guid
- -
- $ID
- -
Where the hook is called
get_the_guid
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php 1648
'rendered' => apply_filters( 'get_the_guid', $post->guid, $post->ID ),
wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php 586
'rendered' => apply_filters( 'get_the_guid', $post->guid, $post->ID ),
wp-includes/post-template.php 232
return apply_filters( 'get_the_guid', $guid, $id );