WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана


Loader::get_user_data_fields() public WC 1.0

We store some WooCommerce specific user meta attached to users endpoint, so that we can track certain preferences or values such as the inbox activity panel last open time. Additional fields can be added in the function below, and then used via wc-admin's currentUser data.

{} Это метод класса: Loader{}

Хуки из метода

Массив. Fields to expose over the WP user endpoint.


$result = Loader::get_user_data_fields();

Код Loader::get_user_data_fields() WC 5.6.0

public static function get_user_data_fields() {
	return apply_filters( 'woocommerce_admin_get_user_data_fields', array() );