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.
name: Deploy to WordPress.org | |
on: | |
release: | |
types: [ released ] | |
jobs: | |
tag: | |
name: New release | |
runs-on: ubuntu-latest |
<?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()) { |
<?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; |
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder; |
<?php | |
/** | |
* Get User Role. | |
* | |
* This function can be used to get user role of a loggedin user. | |
* | |
* @since 1.0.0 | |
* | |
* @return string | |
*/ |
<?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 | |
function custom_prefix_modify_currency_symbol( $symbol ) { | |
if( defined( 'ICL_LANGUAGE_CODE' ) && 'en' === ICL_LANGUAGE_CODE ) { | |
$symbol = 'AED'; | |
} | |
return $symbol; | |
} | |
add_filter( 'give_currency_symbol', 'custom_prefix_modify_currency_symbol', 10 ); |
<?php | |
/** | |
* Add data to CSV column. | |
* | |
* @param array $columns List of CSV columns. | |
* | |
* @since 1.0.0 | |
* | |
* @return array | |
*/ |
Array | |
( | |
[headers] => Requests_Utility_CaseInsensitiveDictionary Object | |
( | |
[data:protected] => Array | |
( | |
[server] => nginx | |
[date] => Sun, 31 Jan 2021 15:43:18 GMT | |
[content-type] => text/plain;charset=UTF-8 | |
[content-length] => 639 |