Mikel
Forum Replies Created
-
I have tried removing the username field from the form builder several times, it keeps re-appearing after refreshing the page. Is there a better way to do this?
Forum: Everything else WordPress
In reply to: Remove HTML and CSS on 404 API Routefunction custom_handle_api_404($result, $server, $request) { // If the response is 404, generate a custom error message if ($result instanceof WP_Error && $result->get_error_code() === 'rest_no_route') { $response = new WP_REST_Response(array('error' => 'API route not found'), 404); return $response; } return $result; } add_filter('rest_pre_serve_request', 'custom_handle_api_404', 10, 3);
I have also used this, still the same.
add_filter('um_login_fields', 'um_login_only_username', 10, 1);function um_login_only_username($fields) { // Remove the email field unset($fields['user_email']); // Return the filtered fields return $fields;}
I tried writing a snippet, but it’s not working
I have both fields available in registration, however I want just username to be used when logging in.
How do I do that please?
I use the Gutenberg shortcode widget to render the shortcode [mycred_my_balance wrapper=0 title_el=”” balance_el=””]. Which widget will i use to render the code?
@daniyalraza01 Thanks for the help.
How do i add this code to the shortcode?@daniyalraza01 Done
ThanksThanks, the issue has been resolved now.
Thanks once again
An error of type E_ERROR was caused in line 110 of the file /home/mysite/mysiteaddress.com/wp-content/plugins/mycred/includes/classes/class.mycred-license.php. Error message: Uncaught Error: Attempt to modify property “no_update” on null in /home/mysite/mysiteaddress.com/wp-content/plugins/mycred/includes/classes/class.mycred-license.php:110 Stack trace: #0 /home/mysite/mysiteaddress.com/wp-includes/class-wp-hook.php(312): myCRED_License->check_update() #1 /home/mysite/mysiteaddress.com/wp-includes/plugin.php(205): WP_Hook->apply_filters() #2 /home/mysite/mysiteaddress.com/wp-includes/option.php(2053): apply_filters() #3 /home/mysite/mysiteaddress.com/wp-includes/update.php(393): set_site_transient() #4 /home/mysite/mysiteaddress.com/wp-includes/update.php(1022): wp_update_plugins() #5 /home/mysite/mysiteaddress.com/wp-includes/class-wp-hook.php(310): _maybe_update_plugins() #6 /home/mysite/mysiteaddress.com/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #7 /home/mysite/mysiteaddress.com/wp-includes/plugin.php(517): WP_Hook->do_action() #8 /home/mysite/mysiteaddress.com/wp-admin/admin.php(175): do_action() #9 /home/mysite/mysiteaddress.com/wp-admin/plugins.php(10): require_once(‘/home/mysite/d…’) #10 {main} thrown
Please I need your help
Forum: Plugins
In reply to: [Stackable - Page Builder Gutenberg Blocks] Tab IDI would also appreciate if there is any other way to achieve adding id to the tabs, so that the user’s last tabs will be displayed by default on page reload.
Thanks
We have explained the required settings the users need to keep. Furthermore, we have also given instructions on using endpoints.
I do not think this answer my question. I want to use the default wordpress GET USER endpoint. How can i save the user current balance into the user details table in my database? and not buying a plugin for that purpose only.Oh,thanks @dioni00
Forum: Everything else WordPress
In reply to: Creating a WordPress user-based API keyHow do I display the application password to the user as plain text on the front-end?
Forum: Everything else WordPress
In reply to: Creating a WordPress user-based API key@gappiah Can I create an application password for a user via a rest route?
How do i check if the user has points or not. There’s no rest-route to do that, Or is there?