add_action(‘charitable_campaign_content_loop_after’, ‘charitable_add_campaign_status_in_campaigns_shortcode’); function charitable_add_campaign_status_in_campaigns_shortcode( $campaign = false, $view_args = array() ) { if ( ! empty( $campaign->get_status() ) ) { echo ‘ ‘ . $campaign->get_status() . ‘ ‘; } }Continue reading
/** * Hide Next button on page 2 by default and show it once an option in a field (e.g. Multiple Choice) is selected. */ // Add CSS to hide the Next button on page 2. add_action( ‘wp_head’, function ()…Continue reading
add_filter( ‘mepr-admin-subscriptions-cols’, function( $cols ) { $cols[‘col_address’] = __( ‘Address’, ‘memberpress’ ); return $cols; }); add_action( ‘mepr-admin-subscriptions-cell’, function( $column_name, $rec, $table, $attributes ) { if( $column_name === ‘col_address’ ) { $user = new MeprUser( ( int ) $rec->user_id ); $address_one…Continue reading
Cookie Consent by Free Privacy Policy Generator Update cookies preferencesContinue reading