Skip to main content

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

NameTypeDefaultDescription
$post_linkstringThe post's permalink.
$passed_postWP_Post | nullNULLThe post in question.
$leavenameboolfalseWhether to keep the post name.
$sampleboolfalseIs it a sample permalink.