preview_post_link

preview_post_link

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('preview_post_link') is found 1 times:

  • /wp-includes/link-template.php line 1435
    1431
    1432
    1433
    1434
    1435
    1436
    1437
    1438
    1439
    1440
    1441
         *
         * @param string  $preview_link URL used for the post preview.
         * @param WP_Post $post         Post object.
         */
        return apply_filters( 'preview_post_link', $preview_link, $post );
    }
     
    /**
     * Retrieves the edit post link for post.
     *
     * Can be used within the WordPress loop or outside of it. Can be used with

See this hook used in plugins: