Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/20/2020 05:57:48 PM (5 years ago)
Author:
imath
Message:

xProfile: introduce a new filter to edit the field's autolink property

props sbrajesh

Fixes #8137

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/classes/class-bp-xprofile-field.php

    r12529 r12532  
    863863        }
    864864
    865         return $this->do_autolink;
     865        /**
     866         * Filters the autolink property of the field.
     867         *
     868         * @since 6.0.0
     869         *
     870         * @param bool              $do_autolink The autolink property of the field.
     871         * @param BP_XProfile_Field $this Field object.
     872         */
     873        return apply_filters( 'bp_xprofile_field_do_autolink', $this->do_autolink, $this );
    866874    }
    867875
Note: See TracChangeset for help on using the changeset viewer.