_get_page_link

_get_page_link

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('_get_page_link') is found 1 times:

  • /wp-includes/link-template.php line 456
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
         *
         * @param string $link    The page's permalink.
         * @param int    $post_id The ID of the page.
         */
        return apply_filters( '_get_page_link', $link, $post->ID );
    }
     
    /**
     * Retrieves the permalink for an attachment.
     *
     * This can be used in the WordPress Loop or outside of it.