jetpack_widget_moved_to_inactive, $moved_to_inactive_ids, $moved_to_inactive_name

jetpack_widget_moved_to_inactive, $moved_to_inactive_ids, $moved_to_inactive_name

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: jetpack.16.0.1

do_action('jetpack_widget_moved_to_inactive, $moved_to_inactive_ids, $moved_to_inactive_name') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-sync/src/modules/class-themes.php line 786
    			 *
    			 * @param array $moved_to_inactive_ids, Array of widgets id that moved to inactive id got changed
    			 * @param array $moved_to_inactive_names, Array of widgets names that moved to inactive id got changed Since 5.0.0
    			 */
    			do_action( 'jetpack_widget_moved_to_inactive', $moved_to_inactive_ids, $moved_to_inactive_name );
    		} elseif ( empty( $moved_to_sidebar ) && empty( $new_value['wp_inactive_widgets'] ) && ! empty( $old_value['wp_inactive_widgets'] ) ) {
    			/**
    			 * Helps Sync log that a got cleared from inactive.
    			 *
    			 * @since 1.6.3
    			 * @since-jetpack 4.9.0