wp_is_auto_update_forced_for_item


wp_is_auto_update_forced_for_item ( $type, $update, $item )

Parameters:
  • (string) type The type of update being checked: Either 'theme' or 'plugin'.
  • (bool|null) update Whether to update. The value of null is internally used to detect whether nothing has hooked into this filter.
  • (object) item The update offer.
Returns:
  • (bool) True if auto-updates are forced for `$item`, false otherwise.
Defined at:

Description

Checks whether auto-updates are forced for an item.

Related Functions

wp_is_auto_update_enabled_for_type, wp_nav_menu_update_menu_items, wp_print_update_row_templates, wp_theme_auto_update_setting_template, wp_get_auto_update_message

Top Google Results

User discussions

wpseek mobile