[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/admin/ -> bp-core-admin-types.php (summary)

BuddyPress Types Admin functions.

File Size: 301 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  bp_core_admin_get_type_default_meta_values()
  bp_core_admin_insert_type()
  bp_core_admin_update_type()
  bp_core_admin_delete_type()

Functions
Functions that are not part of a class:

bp_core_admin_get_type_default_meta_values( $type_taxonomy )   X-Ref
Get default values for the taxonomy registered metadata.

return: array                Default values for the taxonomy registered metadata.
param: string $type_taxonomy The type's taxonomy name.
since: 7.0.0

bp_core_admin_insert_type( $args = array()   X-Ref
Insert a new type into the database.

return: integer|WP_Error The Type's term ID on success. A WP_Error object otherwise.
param: array  $args {
since: 7.0.0

bp_core_admin_update_type( $args = array()   X-Ref
Update a type into the database.

return: boolean|WP_Error True on success. A WP_Error object otherwise.
param: array  $args {
since: 7.0.0

bp_core_admin_delete_type( $args = array()   X-Ref
Delete a type from the database.

return: boolean|WP_Error True on success. A WP_Error object otherwise.
param: array  $args {
since: 7.0.0



Generated: Wed May 1 01:01:10 2024 Cross-referenced by PHPXref 0.7.1