gravityview_social_get_permalink()
function gravityview_social_get_permalink( $post_link, $passed_post=NULL, $leavename=false, $sample=false )
Filter the permalink for a post with a custom post type.
Source: sharing-common-functions.php:62
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$post_link | string | The post's permalink. | |
$passed_post | WP_Post | null | NULL | The post in question. |
$leavename | bool | false | Whether to keep the post name. |
$sample | bool | false | Is it a sample permalink. |