Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

php code to hide plugin update for wordpress

function disable_plugin_updates( $value ) {
  if ( isset($value) && is_object($value) ) {
    if ( isset( $value->response['elementor/elementor.php'] ) ) {
      unset( $value->response['elementor/elementor.php'] );
    }
  }
  return $value;
}
add_filter( 'site_transient_update_plugins', 'disable_plugin_updates' );
 
PREVIOUS NEXT
Tagged: #php #code #hide #plugin #update #wordpress
ADD COMMENT
Topic
Name
6+4 =