wphooks.info - wp_get_update_data

wp_get_update_data

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/update.php:
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
	 * @since 3.5.0
	 *
	 * @param array $update_data {
	 *     Fetched update data.
	 *
	 *     @type array   $counts       An array of counts for available plugin, theme, and WordPress updates.
	 *     @type string  $update_title Titles of available updates.
	 * }
	 * @param array $titles An array of update counts and UI strings for available updates.
	 */
	return apply_filters( 'wp_get_update_data', $update_data, $titles );
}

/**
 * Determines whether core should be updated.
 *
 * @since 2.8.0
 *
 * @global string $wp_version
 */