Mikel
Forum Replies Created
-
Hi, i tried retrieving detailed event data (e.g., start date, location, registration link) via the REST API.
When accessing the
/wp-json/eventprime/v1/eventsendpoint, I only receive a simplified response withvalueandlabelfor each event:[
{
"value": 789,
"label": "Event Title"
}
]This does not include the additional properties I need, such as the event’s start date, location, or registration link.
Could you please clarify if there’s an existing endpoint or query parameter that provides detailed event data? If not, would it be possible to extend the REST API to include these fields in the response?
For context, I’m looking to integrate EventPrime with an external application, and having access to all event details via the API would be very helpful.
Forum: Plugins
In reply to: [Gravity PDF] Remove the generated infoYes, you’re right.
Thanks for your help.
Forum: Plugins
In reply to: [Gravity PDF] Remove the generated infoOh, thanks for the quick response.
Lastly, can I generate PDFs with the CSS hosted on a CDN or external links? Will the CSS be read while/during PDF generation?
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