all parameters from apply_filter
-
I am trying to get the values of these parameters into an add_filter
apply_filters( 'gamipress_achievement_share_markup', $output, $achievement_id, $user_id, $template_args );
I can get $output, but the rest I am having an issue with
the apply_filter is
apply_filters( 'gamipress_achievement_share_markup', $output, $achievement_id, $user_id, $template_args );
My Add filter is
add_filter('gamipress_achievement_share_markup', 'rebuildSocialLinks', $output, $achievement_id, $user_id, $template_args);
My Function
function rebuildSocialLinks( $output, $achievement_id, $user_id, $template_args)
When i try and run this code i get the error
“There has been a critical error on this website.”What am I missing here?
- The topic ‘all parameters from apply_filter’ is closed to new replies.