update_feedback

This filter is documented in wp-admin/includes/update-core.php.

Description

apply_filters( 'update_feedback', (unknown) $result ); 

Parameters (1)

0. $result (unknown)
The result.

Usage

To run the hook, copy the example below.
  1. $result = apply_filters( 'update_feedback', $result ); 
  2.  
  3. if ( !empty( $result ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the update_feedback callback 
  2. function filter_update_feedback( $result ) { 
  3. // make filter magic happen here... 
  4. return $result
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'update_feedback', 'filter_update_feedback', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'update_feedback', 'filter_update_feedback', 10, 1 ); 

Defined (13)

The filter is defined in the following location(s).

/wp-admin/includes/class-core-upgrader.php  
  1. apply_filters( 'update_feedback', $result ); 
  1. apply_filters( 'update_feedback', $this->strings['start_rollback'] ); 
/wp-admin/includes/class-wp-automatic-updater.php  
  1. add_filter( 'update_feedback', array( $skin, 'feedback' ) ); 
/wp-admin/includes/deprecated.php  
  1. add_filter('update_feedback', $feedback); 
  1. add_filter('update_feedback', $feedback); 
  1. add_filter('update_feedback', $feedback); 
/wp-admin/includes/update-core.php  
  1. apply_filters( 'update_feedback', __( 'Verifying the unpacked files…' ) ); 
  1. apply_filters( 'update_feedback', __( 'Preparing to install the latest version…' ) ); 
  1. apply_filters( 'update_feedback', __( 'Enabling Maintenance mode…' ) ); 
  1. apply_filters( 'update_feedback', __( 'Copying the required files…' ) ); 
  1. apply_filters( 'update_feedback', __( 'Disabling Maintenance mode…' ) ); 
  1. apply_filters( 'update_feedback', __( 'Upgrading database…' ) ); 
/wp-admin/update-core.php  
  1. add_filter( 'update_feedback', 'show_message' );