View my-pmpro-themeco-pro-cornerstone-editor.php
<?php | |
/** | |
* This recipe improves compatibility for ThemeCo's Cornerstone Editor plugin | |
* when editing pages that requires a membership level. | |
* | |
* You can add this recipe to your site by creating a custom plugin | |
* or using the Code Snippets plugin available for free in the WordPress repository. | |
* Read this companion article for step-by-step directions on either method. | |
* https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/ | |
*/ |
View example-pmprorh-save-function-with-registration-check.php
<?php | |
/** | |
* This recipe adds Website and Biographical Info to the Membership Checkout. | |
* | |
* You can add this recipe to your site by creating a custom plugin | |
* or using the Code Snippets plugin available for free in the WordPress repository. | |
* Read this companion article for step-by-step directions on either method. | |
* https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/ | |
*/ |
View my-pmprosp-strong-password-hint.php
<?php | |
/** | |
* This recipe changes the password hint message displayed for PMPro Strong Passwords. | |
* | |
* You can add this recipe to your site by creating a custom plugin | |
* or using the Code Snippets plugin available for free in the WordPress repository. | |
* Read this companion article for step-by-step directions on either method. | |
* https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/ | |
*/ |
View my-pmpro-admin-has-all-membership-levels.php
<?php | |
/** | |
* This recipe gives administrators access to all membership levels' privileges | |
* on front-end single post of any post type (post, attachment, page, custom post types). | |
* | |
* Returns true for pmpro_hasMembershipLevel() if user has administrative capabilities. | |
* This will also return true when checking if an administrator has access using the | |
* filter 'pmpro_has_membership_access_filter'. | |
* | |
* keywords: admin, admins, administrator, administrators, hasaccess, $hasaccess |
View my-pmpro-series-shortcode.php
<?php | |
/** | |
* This recipe creates a shortcode that shows the list of articles for a specific series. | |
* Use [pmpro_series id="n"] on any page/post to display a list of posts that belong to a series. | |
* The attribute "id" is the post ID of the series and is required, e.g [pmpro_series id="123"] | |
* | |
* This recipe assumes the site has the PMPro Series: Drip Feed Add On active. | |
* @link https://www.paidmembershipspro.com/add-ons/pmpro-series-for-drip-feed-content/ | |
* | |
* You can add this recipe to your site by creating a custom plugin |
View my-pmpro-custom-email-data-shortcodes.php
<?php | |
/** | |
* This recipe will add some shortcodes to emails. | |
* | |
* by default the $data array that controls the email shortcodes is loaded | |
* conditionally, depending on the type of email being sent. This will | |
* add certain fields to emails if they are not available for that email template. | |
* | |
* You can add this recipe to your site by creating a custom plugin | |
* or using the Code Snippets plugin available for free in the WordPress repository. |
View pmprosm-email-message-at-bottom.php
<?php | |
/** | |
* This recipe places the sponsor message at the bottom of the confirmation mail. | |
* | |
* You can add this recipe to your site by creating a custom plugin | |
* or using the Code Snippets plugin available for free in the WordPress repository. | |
* Read this companion article for step-by-step directions on either method. | |
* https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/ | |
*/ |
View my-pmpro-add-required-attribute-to-input.php
<?php | |
/** | |
* This recipe adds the HTML5 attribute "required" to all required | |
* fields on the checkout page that has the class "pmpro_required" | |
* to check that a required field is not empty before submitting. | |
* | |
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required | |
* | |
* You can add this recipe to your site by creating a custom plugin | |
* or using the Code Snippets plugin available for free in the WordPress repository. |
View my-pmpro-turkish-lira-currency-format.php
<?php | |
/** | |
* This recipe adjust the Turkish Lira currency settings for Paid Memberships Pro. | |
* | |
* You can add this recipe to your site by creating a custom plugin | |
* or using the Code Snippets plugin available for free in the WordPress repository. | |
* Read this companion article for step-by-step directions on either method. | |
* https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/ | |
*/ |
View my-gettext-shipping.php
<?php | |
/** | |
* This recipe changes text for the PMPro Shipping Add On. | |
* | |
* You can add this recipe to your site by creating a custom plugin | |
* or using the Code Snippets plugin available for free in the WordPress repository. | |
* Read this companion article for step-by-step directions on either method. | |
* https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/ | |
*/ |
NewerOlder