File manager - Edit - /home/matthif/www/wp-content-20260616104617/plugins/visual-portfolio/assets/admin/js/ask-review-notice.js
Back
import $ from 'jquery'; const { ajaxurl, VPAskReviewNotice } = window; const $body = $('body'); $body.on('click', '.vpf-review-plugin-notice-dismiss', function (e) { const $this = $(this); const type = $this.attr('data-vpf-review-action'); // Don't prevent click on Yes link, as it is URL for rate. if (type !== 'yes') { e.preventDefault(); } // Hide notice. $this.closest('.notice').slideUp('slow'); // Save user answer in DB. $.post(ajaxurl, { action: 'vpf_dismiss_ask_review_notice', type, nonce: VPAskReviewNotice.nonce, }); });
| ver. 1.4 |
Github
|
.
| PHP 5.4.45 | Generation time: 0 |
proxy
|
phpinfo
|
Settings