Category : woocommerce

I have an error in filter sidebar: Warning: Attempt to assign property ‘count’ of non-object in /var/www/u0771843/data/www/teplokomplex.ru/wp-content/plugins/woocommerce-ajax-filters/includes/widget.php on line 427. It’s something in woocommerce plugin. here is part of code with error: $res_count->count = 0; } if( $res_count->count > 0 ) { $terms[] = $res_count; } } I didn’t change anything in plugin, I’ve just ..

Read more

I have created a custom column for the address on the users page in WP. I am trying to search by username, email, and the address. Is there a good way to pass my custom column into my WP_User_Query to make it searchable? add_filter( ‘manage_users_columns’, ‘billing_address_column’, 20 ); function billing_address_column( $user_columns ) { return array_slice( ..

Read more