• Hey there,

    thank you for the nice plugin. I had to adjust one thing for my special setup:

    It would be nice that in the coco_social_get_count function instead of just the post ID one could add a special suffix like the current language key.

    A filter function for that case would be great!

    Example:

    $transient_name = apply_filters( 'cocorico_social_transient_suffix','cocorico_social-' . $post->ID );
    
    switch($network_name){
    	case 'facebook' :
    		$count = coco_social_facebook_count($post_url, $transient_name);
    	break;
    ...

    Cheers
    Philipp

    https://www.ads-software.com/plugins/cocorico-social/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Add filter for changing the transition name’ is closed to new replies.