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

apply_filters('preview_post_link') is found 1 times:

  • /wp-includes/link-template.php line 1435
    	 *
    	 * @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: