social-share.php in MaxButtons – Create buttons 6.28, at includes/social-share.php
| 1 | <?php |
| 2 | $action = 'install-plugin'; |
| 3 | $slug = 'share-button'; |
| 4 | $url = wp_nonce_url( |
| 5 | add_query_arg( |
| 6 | array( |
| 7 | 'action' => $action, |
| 8 | 'plugin' => $slug |
| 9 | ), |
| 10 | admin_url( 'update.php' ) |
| 11 | ), |
| 12 | $action.'_'.$slug |
| 13 | ); |
| 14 | ?> |
| 15 | |
| 16 | |
| 17 | <div class='social-share-move option-container'> |
| 18 | <div class='inside'> |
| 19 | <h3>MaxButtons Share Buttons</h3> |
| 20 | |
| 21 | <p>We created a brand new plugin to make your Social Share experiences better. </p> |
| 22 | |
| 23 | <p><a href='<?php echo $url ?>' class='button-primary large '>Get it here </a></p> |
| 24 | </div> |
| 25 | </div> |
| 26 |