Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$defaults = apply_filters( 'king_news_default_args_share_buttons', array(
'facebook' => array(
'icon' => 'fa fa-facebook',
'name' => esc_html__( 'Facebook', 'king_news' ),
'share_url' => 'https://www.facebook.com/sharer/sharer.php?u=%3$s&t=%4$s',
),
'twitter' => array(
'icon' => 'fa fa-twitter',
'name' => esc_html__( 'Twitter', 'king_news' ),
'share_url' => 'https://twitter.com/intent/tweet?url=%3$s&text=%4$s',
),
'google-plus' => array(
'icon' => 'fa fa-google-plus',
'name' => esc_html__( 'Google+', 'king_news' ),
'share_url' => 'https://plus.google.com/share?url=%3$s',
),
'linkedin' => array(
'icon' => 'fa fa-linkedin',
'name' => esc_html__( 'LinkedIn', 'king_news' ),
'share_url' => 'http://www.linkedin.com/shareArticle?mini=true&url=%3$s&title=%4$s&summary=%5$s&source=%3$s',
),
'pinterest' => array(
'icon' => 'fa fa-pinterest',
'name' => esc_html__( 'Pinterest', 'king_news' ),
'share_url' => 'https://www.pinterest.com/pin/create/button/?url=%3$s&description=%4$s&media=%6$s',
),
) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.