Skip to content

Instantly share code, notes, and snippets.

View glaubersilva's full-sized avatar

Glauber Silva glaubersilva

View GitHub Profile
<?php
/**
* Plugin Name: [Forminator] Limit Submissions by Birthdate
* Plugin URI: https://premium.wpmudev.org/
* Description: If the user does not have the minimum age necessary, the submission is not finished
* Author: Glauber Silva @ WPMUDEV
* Author URI: https://premium.wpmudev.org/
* Task: SLS-1644
* License: GPLv2 or later
*
<?php
/**
* Plugin Name: [Forminator] Limit Post Title
* Plugin URI: https://wpmudev.com/
* Description: Limit the post title to 60 characters and allow just numbers and latters.
* Author: Glauber Silva @ WPMUDEV
* Author URI: https://wpmudev.com/
* Task: SLS-3331
* License: GPLv2 or later
*
@glaubersilva
glaubersilva / wpmudev-hustle-custom-close.php
Created June 4, 2022 15:10 — forked from wpmudev-sls/wpmudev-hustle-custom-close.php
[Hustle] Close popup by custom link content
<?php
/**
* Plugin Name: [Hustle] Close popup by custom link content
* Plugin URI: https://premium.wpmudev.org/
* Description: To make it work you need to add the following class on the link: hustle-custom-close
* Author: Glauber Silva @ WPMUDEV
* Author URI: https://premium.wpmudev.org/
* Task: SLS-1666 and SLS-959
* License: GPLv2 or later
*
<?php
/**
* Plugin Name: [Forminator] Sends Quiz Personality Description by Email
* Plugin URI: https://wpmudev.com/
* Description: You need setup the {quiz_result_description} tag on the email body.
* Author: Glauber Silva @ WPMUDEV
* Author URI: https://wpmudev.com/
* Task: SLS-2337
* License: GPLv2 or later
*
@glaubersilva
glaubersilva / wpmudev-forminator-reset-user-password.php
Created June 4, 2022 15:10 — forked from wpmudev-sls/wpmudev-forminator-reset-user-password.php
After activating the user, redirects to the reset user password WP default page.
<?php
/**
* Plugin Name: [Forminator] Reset User Password
* Plugin URI: https://wpmudev.com
* Description: After activating the user, redirects to the reset user password WP default page.
* Author: Glauber Silva @ WPMUDEV
* Author URI: https://wpmudev.com
* Jira Task: SLS-3313
* License: GPLv2 or later
*
<?php
/**
* Plugin Name: [Forminator] Fix Trello Empty Due Date
* Plugin URI: https://premium.wpmudev.org
* Description: When Trello due date is not set on the form submission, the data isn't sent to Trello - this snippet fixes this problem.
* Author: Glauber Silva @ WPMUDEV
* Author URI: https://premium.wpmudev.org
* Jira Task: SLS-2465
* License: GPLv2 or later
*
<?php
/**
* Plugin Name: [Snapshot] Skip tables without the wp-config base prefix
* Plugin URI: https://premium.wpmudev.org/
* Description: Useful when the database has a lot of duplicate tables for staging environments.
* Author: Glauber Silva @ WPMUDEV
* Author URI: https://premium.wpmudev.org/
* License: GPLv2 or later
*
* @package WPMUDEV_Snapshot_Skip_Tables_Without_Base_Prefix
<?php
/**
* Plugin Name: [Hustle] - Insert Forminator submissions by AJAX
* Plugin URI: https://wpmudev.com/
* Description: This snippet preserves all Hustle integrations.
* Task: SLS-3648
* Author: Glauber Silva @ WPMUDEV
* Author URI: https://wpmudev.com/
* License: GPLv2 or later
*/