Current Path : /storage/v11800/affypharma/public_html/wp-content/plugins/wp-tag-groups/views/admin/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/affypharma/public_html/wp-content/plugins/wp-tag-groups/views/admin/admin_notice.view.php |
<div class="notice notice-<?php echo $notice['type'] ?> is-dismissible" style="clear:both;">
<?php echo $notice['content'] ?>
<div style="clear:both;"></div>
</div>
<?php if ( '' != $ajax_link ) : ?>
<script>
jQuery(document).ready(function(){
jQuery("#tag_groups_premium_clear_cache").click(function(){
jQuery("#tag_groups_premium_clear_cache").attr("disabled", "disabled");
jQuery.ajax({
url: "<?php echo $ajax_link ?>",
data: {
action: "tg_ajax_clear_object_cache",
},
success: function( data ) {
jQuery("#tag_groups_premium_clear_cache").replaceWith("<span class=\'dashicons dashicons-yes\'></span>");
}
});
});
});
</script>
<?php endif; ?>