Limit user files in media library

change the number in the snippet

<10

Test

Louis Agnello
<10

Custom Countries

Illustrates how to add a custom list of countries

<10

WPForms: display a form under the confirmation message with or without user entered field values.

add_action( 'wpforms_frontend_output_success', static function ( $form_data, $fields, $entry_id ) { unset( $_GET['wpforms_return'], $_POST['wpforms']['id'] ); // If…

WPForms: hide certain sections on a single entry page: notes, log, debug, meta, payment, actions, related, geolocation.

This code removes all sections on a single entry page in the admin area. Method names…

WPForms: new smart tag - Current Date/Time

It's a localized date/time in this format: Y-m-d H:i:s

WPForms: new smart tag - Current Unix Time

Using wp_date() function to output a Unix time where the smart tag is used.

WPForms: add field description in notification HTML and plain text emails

With this snippet, you can add a field description in notification emails that are sent to…

WPForms: add several new smart tags for newly submitted CPT: ID, title and URL.

Mainly useful when the Post Submissions addon is used. Several new smart tags are registered to…

WP Mail SMTP: specify an exact AuthType to connect to a Server.

Some SMTP servers require a very specific AuthType to connect to them in order to send…

WPForms: swap price and option value for payment fields

This snippet makes the option label "$40.00 - Second Choice" instead of "Second Choice - $40.00"…

WPForms: add BCC email header to notification emails

Check the snippet code to apply to all/some form only, plus you will need to modify…

MemberPress: Exclude Protected Posts from Search Results

Removes any posts from the search results that the current user (or guest) does not have…

1 75 76 77 78 79 175