HEX
Server: Apache
System: Linux cpanelx.inxs.ro 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: crowdandsafety (1041)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/cwd/wp-content/themes/x/framework/functions/plugins/revolution-slider.php
<?php

// =============================================================================
// FUNCTIONS/GLOBAL/PLUGINS/REVOLUTION-SLIDER.PHP
// -----------------------------------------------------------------------------
// Plugin setup for theme compatibility.
// =============================================================================

// =============================================================================
// TABLE OF CONTENTS
// -----------------------------------------------------------------------------
//   01. Remove Notices
// =============================================================================

// Remove Notices
// =============================================================================

function x_revolution_slider_remove_plugin_row_notices() {
  remove_action( 'after_plugin_row_revslider/revslider.php', array('RevSliderAdmin', 'show_purchase_notice') );
  remove_action( 'after_plugin_row_revslider/revslider.php', array('RevSliderAdmin', 'show_update_notice') );
  remove_action( 'after_plugin_row_revslider/revslider.php', array('RevSliderAdmin', 'add_notice_wrap_pre') );
  remove_action( 'after_plugin_row_revslider/revslider.php', array('RevSliderAdmin', 'add_notice_wrap_post') );
}

add_action( 'admin_notices', 'x_revolution_slider_remove_plugin_row_notices' );