|
6 | 6 |
|
7 | 7 |
|
8 | 8 | /** |
9 | | - * @usage BEA\Theme\Framework\Helpers\Formatting\Share\get_share_link( 'facebook', "https://......", ['title' => 'My title', 'class' => "...", 'href' => 'http://www.facebook.com/sharer.php' ], ['title' => 'My title', 'class' => "...", 'href' => 'http://www.facebook.com/sharer.php' ], [ 'before' => '', 'after' => ''] ); |
| 9 | + * @usage BEA\Theme\Framework\Helpers\Formatting\Share\get_share_link( 'facebook', "https://......", ['title' => 'My title', 'class' => "...", 'href' => 'https://www.facebook.com/sharer.php' ], ['title' => 'My title', 'class' => "...", 'href' => 'https://www.facebook.com/sharer.php' ], [ 'before' => '', 'after' => ''] ); |
10 | 10 | * |
11 | 11 | * @param string $name The network name ( example : "facebook", "linkedin", etc....). |
12 | 12 | * @param string $link_to_share The sharing link. |
@@ -51,7 +51,7 @@ function get_share_link( string $name, string $link_to_share, array $share_attri |
51 | 51 | 'facebook' => [ |
52 | 52 | 'accessible_name' => __( 'Share on Facebook', 'beapi-frontend-framework' ), |
53 | 53 | 'attributes' => [ |
54 | | - 'href' => 'http://www.facebook.com/sharer.php', |
| 54 | + 'href' => 'https://www.facebook.com/sharer.php', |
55 | 55 | 'class' => 'share__link', |
56 | 56 | ], |
57 | 57 | 'icon' => 'social/facebook', |
@@ -163,7 +163,7 @@ function get_share_link( string $name, string $link_to_share, array $share_attri |
163 | 163 | } |
164 | 164 |
|
165 | 165 | /** |
166 | | - * @usage BEA\Theme\Framework\Helpers\Formatting\Share\get_share_link( 'facebook', "https://......", ['title' => 'My title', 'class' => "...", 'href' => 'http://www.facebook.com/sharer.php' ], ['title' => 'My title', 'class' => "...", 'href' => 'http://www.facebook.com/sharer.php' ], [ 'before' => '', 'after' => ''] ); |
| 166 | + * @usage BEA\Theme\Framework\Helpers\Formatting\Share\get_share_link( 'facebook', "https://......", ['title' => 'My title', 'class' => "...", 'href' => 'https://www.facebook.com/sharer.php' ], ['title' => 'My title', 'class' => "...", 'href' => 'https://www.facebook.com/sharer.php' ], [ 'before' => '', 'after' => ''] ); |
167 | 167 | * |
168 | 168 | * @param string $name The network name ( example : "facebook", "linkedin", etc....). |
169 | 169 | * @param string $link_to_share The sharing link. |
|
0 commit comments