Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Favorites::set_meta_value( string|AutomatticWooCommerceAdminFeaturesNavigationnumber $user_id, array $favorites )

Set given favorites string to the user meta data.


Description Description


Parameters Parameters

$user_id

(Required) User id.

$favorites

(Required) Array of favorite values to set.


Top ↑

Source Source

File: packages/woocommerce-admin/src/Features/Navigation/Favorites.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.