• There’s a number of support topics open about the Social aspect of this plugin. Have you abandoned this plugin?

    The reddit share link on posts is using https:// versus https://

    function modify_reddit_share_url_to_https( $accounts, $share_url, $post_id ) {
    if ( isset( $accounts['reddit'] ) ) {
    // Modify the Reddit share URL to use HTTPS
    $accounts['reddit']['share_url'] = esc_url( 'https://www.reddit.com/submit?url=' . $share_url, null, '' );
    }

    return $accounts;
    }
    add_filter( 'powerkit_share_buttons_accounts', 'modify_reddit_share_url_to_https', 20, 3 );
    • This topic was modified 3 months, 1 week ago by jordantrizz.
  • You must be logged in to reply to this topic.