update_plugin_complete_actions хук-фильтр . WP 2.7.0
Filters the list of action links available following a single plugin update.
Использование
add_filter( 'update_plugin_complete_actions', 'filter_function_name_1790', 10, 2 ); function filter_function_name_1790( $update_actions, $plugin ){ // filter... return $update_actions; }
- $update_actions(строка[])
- Array of plugin action links.
- $plugin(строка)
- Path to the plugin file relative to the plugins directory.
Список изменений
С версии 2.7.0 | Введена. |
Где вызывается хук
update_plugin_complete_actions
wp-admin/includes/class-plugin-upgrader-skin.php 117
$update_actions = apply_filters( 'update_plugin_complete_actions', $update_actions, $this->plugin );