Home / Archive / Remove Organisation Field
Duplicate Snippet

Embed Snippet on Your Site

Remove Organisation Field

Remove "organisation" from the profile form.

Code Preview
php
<?php
/**
 * Remove "organisation" from the profile form.
 */
function ed_remove_organisation_from_profile( $fields ) {
    unset( $fields[ 'organisation' ] );
    return $fields;
}
add_filter( 'charitable_user_fields', 'ed_remove_organisation_from_profile' );

Comments

Add a Comment