BuddyClients Docs

xprofile.php

Table of Contents

Functions

buddyc_all_xprofile()  : mixed
Retrieves all xprofile fields.
buddyc_update_filter_field()  : mixed
Initializes FilterField class on post updates.
buddyc_roles_field_id()  : mixed
Retrieves Roles field ID.
buddyc_roles_options()  : mixed
Builds array of options for roles xprofile field.
buddyc_xprofile_manager()  : mixed
Initializes XprofileManager.
buddyc_show_role_xprofile()  : mixed
Allows team to self-select roles.
buddyc_no_roles_updates()  : mixed
Disallows manual updates to the roles field.

Functions

buddyc_all_xprofile()

Retrieves all xprofile fields.

buddyc_all_xprofile() : mixed
Tags
since
0.2.9

buddyc_update_filter_field()

Initializes FilterField class on post updates.

buddyc_update_filter_field(int $post_id) : mixed
Parameters
$post_id : int

The ID of the post being saved.

Tags
since
0.1.0

buddyc_roles_field_id()

Retrieves Roles field ID.

buddyc_roles_field_id() : mixed

Creates or updates roles field if necessary.

Tags
since
0.1.0

buddyc_roles_options()

Builds array of options for roles xprofile field.

buddyc_roles_options(mixed $post_type) : mixed
Parameters
$post_type : mixed
Tags
since
0.1.3
string

$post_type The roles post type.

buddyc_xprofile_manager()

Initializes XprofileManager.

buddyc_xprofile_manager() : mixed
Tags
since
0.1.0

buddyc_show_role_xprofile()

Allows team to self-select roles.

buddyc_show_role_xprofile() : mixed

Hides or shows edit option based on setting.

Tags
since
0.1.0

buddyc_no_roles_updates()

Disallows manual updates to the roles field.

buddyc_no_roles_updates() : mixed
Tags
since
0.1.0

        
On this page

Search results