page_link

page_link

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('page_link') is found 1 times:

  • /wp-includes/link-template.php line 409
    	 * @param string $link    The page's permalink.
    	 * @param int    $post_id The ID of the page.
    	 * @param bool   $sample  Is it a sample permalink.
    	 */
    	return apply_filters( 'page_link', $link, $post->ID, $sample );
    }
    
    /**
     * Retrieves the page permalink.
     *
     * Ignores page_on_front. Internal use only.
    

See this hook used in plugins: