/* Redirect Lost Password to Custom Password Reset Original doc link: https://wpforms.com/how-to-customize-the-wordpress-password-reset-form/ For support, please visit: https://www.facebook.com/groups/wpformsvip */ function my_custom_lostpassword_url() { return home_url( ‘/reset-password/’ ); } add_filter( ‘lostpassword_url’, ‘my_custom_lostpassword_url’ );Continue reading
/** * Customize strings for WPForms form validation * * @link https://wpforms.com/developers/change-validation-messages-for-wpml/ */ function wpforms_dev_frontend_strings( $strings ) { $currentLanguage = defined( ‘ICL_LANGUAGE_CODE’ ) ? ICL_LANGUAGE_CODE : null; switch ( $currentLanguage ) { // For French translation case ‘fr’: // Required…Continue reading
/* Change the completed scheduled tasks storage to 1 week Original doc link: https://wpforms.com/docs/how-to-troubleshoot-action-scheduler-issues-in-wpforms/ For support, please visit: https://www.facebook.com/groups/wpformsvip */ add_filter( ‘wpforms_tasks_admin_hide_as_menu’, ‘__return_false’ );Continue reading
/* Change the completed scheduled tasks storage to 1 week Original doc link: https://wpforms.com/docs/how-to-troubleshoot-action-scheduler-issues-in-wpforms/ For support, please visit: https://www.facebook.com/groups/wpformsvip */ function custom_as_retention_period() { return WEEK_IN_SECONDS; } add_filter( ‘action_scheduler_retention_period’, ‘custom_as_retention_period’ );Continue reading
define(‘ALLOW_UNFILTERED_UPLOADS’, true);Continue reading
Loading the Elevenlabs Text to Speech AudioNative Player…Continue reading
function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get the user email from the order $order_email = $order->billing_email; // check if there are any users with the billing email as user or email…Continue reading
/* Adding a background image to your forms. Original doc link: https://wpforms.com/docs/styling-your-forms/ For support, please visit: https://www.facebook.com/groups/wpformsvip */ add_filter( ‘wpforms_admin_settings_modern_markup_register_field_is_disabled’, ‘__return_false’ );Continue reading
/* Adding a background image to your forms. Original doc link: https://wpforms.com/docs/how-to-add-a-background-image-in-wpforms/ For support, please visit: https://www.facebook.com/groups/wpformsvip */ add_filter( ‘wpforms_admin_settings_modern_markup_register_field_is_hidden’, ‘__return_false’ );Continue reading
/* Decrease the retention period to one week for the Action Scheduler Original doc link: https://wpforms.com/docs/how-to-troubleshoot-action-scheduler-issues-in-wpforms/ For support, please visit: https://www.facebook.com/groups/wpformsvip */ function custom_as_retention_period() { return WEEK_IN_SECONDS; } add_filter( ‘action_scheduler_retention_period’, ‘custom_as_retention_period’ );Continue reading