diff --git a/shortcodes/membership.php b/shortcodes/membership.php index e90426aea..cdbc95c43 100644 --- a/shortcodes/membership.php +++ b/shortcodes/membership.php @@ -80,7 +80,7 @@ function pmpro_shortcode_membership($atts, $content=null, $code="") } // Filter the $hasaccess so we can overwrite this for other add ons. - $hasaccess = apply_filters( 'pmpro_member_shortcode_access', $hasaccess ); + $hasaccess = apply_filters( 'pmpro_member_shortcode_access', $hasaccess, $content, $levels, $delay ); //to show or not to show if($hasaccess)