PluginProbe
Social Media Auto Poster – Schedule & Publish to Buffer / 6.2.5
Social Media Auto Poster – Schedule & Publish to Buffer v6.2.5
6.2.5 6.2.4 6.2.3 6.2.2 6.2.1 6.2.0 6.1.2 6.1.1 6.1.0 6.0.9 6.0.8 6.0.7 6.0.6 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 6.0.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 All 126 releases
wp-to-buffer / lib / shared / js / review-notice.js

review-notice.js in Social Media Auto Poster – Schedule & Publish to Buffer 6.2.5, at lib/shared/js/review-notice.js

35 lines 629 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Review notice functionality.
3 *
4 * @package WPZincDashboardWidget
5 * @author WP Zinc
6 */
7
8 jQuery( document ).ready(
9 function ( $ ) {
10
11 // Dismiss Review Notification.
12 $( 'div.wpzinc-review-' + wpzinc_admin_review_notice.plugin_name ).on(
13 'click',
14 'a, button.notice-dismiss',
15 function ( e ) {
16
17 // Do request.
18 $.post(
19 ajaxurl,
20 {
21 action: wpzinc_admin_review_notice.action,
22 nonce: wpzinc_admin_review_notice.nonce,
23 },
24 function ( response ) {
25 }
26 );
27
28 // Hide notice.
29 $( 'div.wpzinc-review-' + wpzinc_admin_review_notice.plugin_name ).hide();
30
31 }
32 );
33 }
34 );
35