data_items(); if ( ! $items ) { return; } ?>

$item Item. * @return string */ private static function question( array $item ) { switch ( $item['kind'] ) { case 'settings': return __( 'Reset this power-up to its default settings?', 'admin-powerups-for-woocommerce' ); case 'content': /* translators: %s: data item, e.g. "Tag groups and tags". */ return sprintf( __( 'Delete all “%s”? This can’t be undone.', 'admin-powerups-for-woocommerce' ), $item['label'] ); default: /* translators: %s: data item, e.g. "Background job history". */ return sprintf( __( 'Delete “%s”?', 'admin-powerups-for-woocommerce' ), $item['label'] ); } } }