original_string: private function show_plugin_update_notices() {
  		add_action( 'in_plugin_update_message-' . $this->app->define->plugin_base_name, function ( $data, $r ) {
  			$new_version = $r->new_version;
  			$url         = $this->app->utility->array_get( $data, 'PluginURI' );
  			$notices     = $this->get_upgrade_notices( $new_version, $url );
  			if ( ! empty( $notices ) ) {
  				$this->get_view( 'admin/include/upgrade', [
  					'notices' => $notices,
  				], true );
  			}
  		}, 10, 2 );
  	}
code: private function show_plugin_update_notices() {
  		add_action( 'in_plugin_update_message-' . $this->app->define->plugin_base_name, function ( $data, $r ) {
  			$new_version = $r->new_version;
  			$url         = $this->app->utility->array_get( $data, 'PluginURI' );
  			$notices     = $this->get_upgrade_notices( $new_version, $url );
  			if ( ! empty( $notices ) ) {
  				$this->get_view( 'admin/include/upgrade', [
  					'notices' => $notices,
  				], true );
  			}
  		}, 10, 2 );
  	}
code_tokens: private function show_plugin_update_notices ( ) { add_action ( 'in_plugin_update_message-' . $ this -> app -> define -> plugin_base_name , function ( $ data , $ r ) { $ new_version = $ r -> new_version ; $ url = $ this -> app -> utility -> array_get ( $ data , 'PluginURI' ) ; $ notices = $ this -> get_upgrade_notices ( $ new_version , $ url ) ; if ( ! empty ( $ notices ) ) { $ this -> get_view ( 'admin/include/upgrade' , [ 'notices' => $ notices , ] , true ) ; } } , 10 , 2 ) ; }
docstring: show plugin upgrade notices
  @since 2.4.1
  @since 2.4.3 Fixed: get plugin upgrade notice from plugin directory
docstring_tokens: show plugin upgrade notices