wpcli-vulnerability-scanner.php
/**
	 * Pull updatable items from Formatter-ready array
	 *
	 * @param array $data Formatter-ready data
	 *
	 * @return array Simple array of plugin/theme slugs needing to be updated
	 */
Pull updatable items from Formatter-ready array
@param array $data Formatter-ready data

@return array Simple array of plugin/theme slugs needing to be updated
Pull updatable items from Formatter - ready array @param array $data Formatter - ready data @return array Simple array of plugin / theme slugs needing to be updated
private function _extract_updatable_items( $data ) {
		$update_list = wp_list_pluck( wp_list_filter( $data, array( 'action' => 'update' ) ), 'action', 'slug' );
		$update_list = array_keys( $update_list );
		return $update_list;
	}
private function _extract_updatable_items ( $ data ) { $ update_list = wp_list_pluck ( wp_list_filter ( $ data , array ( 'action' => 'update' ) ) , 'action' , 'slug' ) ; $ update_list = array_keys ( $ update_list ) ; return $ update_list ; }
Pull updatable items from Formatter-ready array
 @param array $data Formatter-ready data
Pull updatable items from Formatter - ready array @param array $data Formatter - ready data