Hey folks!
Thanks for visiting this page.
You can always check the official free or paid GiveWP on their official website.
I've curated a list of all the third-party addons for GiveWP - most popular donations plugin for WordPress.
| <?php | |
| /** | |
| * This code snippet will help you update the email address on donor as well as WP user profiles when donor updates the email address | |
| * using legacy donor profile `[give_profile_editor]`. | |
| * | |
| * @param int $user_id WP User ID. | |
| * @param array $userdata WP User data. | |
| * | |
| * @return void | |
| */ |
| <?php | |
| /** | |
| * Get User Role. | |
| * | |
| * This function can be used to get user role of a loggedin user. | |
| * | |
| * @since 1.0.0 | |
| * | |
| * @return string | |
| */ |
| sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder; |
| <?php | |
| /** | |
| * Allow Script Tags to be used in editor for Administrator user role. | |
| * | |
| * @author Mehul Gohil <[email protected]> | |
| */ | |
| function allow_unfiltered_html_for_administrators( $allowed_tags ) { | |
| // Bailout, if the logged-in user role is not `administrator`. | |
| if ( ! current_user_can( 'administrator' ) ) { | |
| return $allowed_tags; |
| <?php | |
| /** | |
| * Plugin Name: Secure Endpoints | |
| * Version: 0.1 | |
| */ | |
| add_filter('rest_authentication_errors', function ($result) { | |
| // Allow REST API for logged-in users. | |
| if (is_user_logged_in()) { |
| name: Deploy to WordPress.org | |
| on: | |
| release: | |
| types: [ released ] | |
| jobs: | |
| tag: | |
| name: New release | |
| runs-on: ubuntu-latest |