Skip to main content

GF_Update

Class GF_Update

Handles the Updates subview on the System Status page.

Source: includes/system-status/class-gf-update.php:12

Details

  • Kind: class
  • Namespace: (global)

Methods

MethodDescription
updates()Display updates page.
available_updates()Get available Gravity Forms updates.
get_markup_for_status_messages()Generates the markup for displaying the status messages.

Method Reference

updates()

public static function updates()

Display updates page.

Since: 2.2

Source: includes/system-status/class-gf-update.php:26

available_updates()

public static function available_updates()

Get available Gravity Forms updates.

Returns

  • array

Since: 2.2

Source: includes/system-status/class-gf-update.php:124

get_markup_for_status_messages()

public static function get_markup_for_status_messages( $messages )

Generates the markup for displaying the status messages.

Parameters

NameTypeDefaultDescription
$messagesarrayAn array of status messages.

Returns

  • string — The html markup for the status messages.

Source: includes/system-status/class-gf-update.php:211