Slots is LIVE (copy) (copy)

!function(e,t,a,n,c,s){e.affScriptCount = e.affScriptCount == undefined ? 0 : e.affScriptCount+1;if(e.affScriptUrl === undefined){e.affScriptUrl = {};}e.affScriptUrl[e.affScriptCount] = n;s = s + “_” + e.affScriptCount;e.bcAnalyticsObject=c,e[c]=e[c]||function(){(e[c].q=e[c].q||[]).push(arguments),e[c].u=e[c].u||n};var i=t.createElement(a),o=t.getElementsByTagName(a)[0];i.async=!0,i.src=n+”analytics/banner.js”,i.id=s,!t.getElementById(s)&&o.parentNode.insertBefore(i,o)}(window,document,”script”,”https://goldrushaffiliates.co.za/global/”,”ba”,”bafTrSc”),ba(“_setUrl”,”https://goldrushaffiliates.co.za/global/”),ba(“_setAccount”,892771),ba(“_mId”,206151);Continue reading

Slots is LIVE (copy)

!function(e,t,a,n,c,s){e.affScriptCount = e.affScriptCount == undefined ? 0 : e.affScriptCount+1;if(e.affScriptUrl === undefined){e.affScriptUrl = {};}e.affScriptUrl[e.affScriptCount] = n;s = s + “_” + e.affScriptCount;e.bcAnalyticsObject=c,e[c]=e[c]||function(){(e[c].q=e[c].q||[]).push(arguments),e[c].u=e[c].u||n};var i=t.createElement(a),o=t.getElementsByTagName(a)[0];i.async=!0,i.src=n+”analytics/banner.js”,i.id=s,!t.getElementById(s)&&o.parentNode.insertBefore(i,o)}(window,document,”script”,”https://goldrushaffiliates.co.za/global/”,”ba”,”bafTrSc”),ba(“_setUrl”,”https://goldrushaffiliates.co.za/global/”),ba(“_setAccount”,892771),ba(“_mId”,206151);Continue reading

EDD Smart Tags

add_filter( ‘wpcode_smart_tags’, function ( $tags ) { $tags[‘edd’] = array( ‘label’ => ‘Easy Digital Downloads’, ‘tags’ => array( ‘edd_order_total’ => array( ‘label’ => ‘Order Total’, ‘function’ => ‘wpcode_custom_get_edd_order_total’, ), ‘edd_order_items_count’ => array( ‘label’ => ‘Order Items Count’, ‘function’ => ‘wpcode_custom_get_edd_order_items_count’,…Continue reading

MemberPress: Replace Country Code with Country Name

function mepr_replace_country_code_with_country_name ( $address, $user ) { $countries = require( MEPR_I18N_PATH . ‘/countries.php’ ); $addr1 = get_user_meta( $user->ID, ‘mepr-address-one’, true ); $addr2 = get_user_meta( $user->ID, ‘mepr-address-two’, true ); $city = get_user_meta( $user->ID, ‘mepr-address-city’, true ); $state = get_user_meta( $user->ID, ‘mepr-address-state’,…Continue reading

Category Fallback Image

/** * Plugin Name: Category Thumbnail Fallback * Description: Use the category image as fallback when the post does not have a featured image */ class WPBCategoryThumbnailFallback { protected static $taxonomies = [‘category’]; protected $nonceId = ‘wpb_category_thumb_fallback_none’; protected $fieldId =…Continue reading