| [ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BuddyPress Types Admin Class.
| File Size: | 618 lines (16 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
BP_Admin_Types:: (14 methods):
__construct()
register_types_admin()
setup_globals()
includes()
setup_hooks()
handle_action()
screen_head()
register_scripts()
screen_scripts()
add_form_fields()
edit_form_fields()
column_headers()
column_contents()
row_actions()
Class: BP_Admin_Types - X-Ref
Load BuddyPress Types admin area.| __construct() X-Ref |
| The main BuddyPress Types admin loader. since: 7.0.0 |
| register_types_admin() X-Ref |
| Register BP Types Admin. since: 7.0.0 return: BP_Admin_Types |
| setup_globals() X-Ref |
| Set the globals. since: 7.0.0 |
| includes() X-Ref |
| Include Admin functions. since: 7.0.0 |
| setup_hooks() X-Ref |
| Set hooks. since: 7.0.0 |
| handle_action( $action ) X-Ref |
| Handle BP Type actions. param: string $action Required. The action to handle ('add-tag', 'editedtag' or 'delete' ). since: 7.0.0 |
| screen_head() X-Ref |
| Override the Admin parent file to highlight the right menu. since: 7.0.0 |
| register_scripts( $scripts = array() X-Ref |
| Registers script. since: 7.0.0 |
| screen_scripts() X-Ref |
| Enqueues script. since: 7.0.0 |
| add_form_fields( $taxonomy = '', $type = null ) X-Ref |
| Outputs the BP type add form. param: string $taxonomy The type taxonomy name. param: null|object $type The type object, `null` if not passed to the method. since: 7.0.0 |
| edit_form_fields( $term = null, $taxonomy = '' ) X-Ref |
| Outputs the BP type edit form. param: WP_Term $term The term object for the BP Type. param: string $taxonomy The type taxonomy name. since: 7.0.0 return: string HTML Output. |
| column_headers( $column_headers = array() X-Ref |
| Filters the terms list table column headers to customize them for BuddyPress Types. param: array $column_headers The column header labels keyed by column ID. since: 7.0.0 return: array The column header labels keyed by column ID. |
| column_contents( $column_content = '', $column_name = '', $type_id = 0 ) X-Ref |
| Sets the content for the Plural name & Counts columns. param: string $string Blank string. param: string $column_name Name of the column. param: int $type_id The type's term ID. since: 7.0.0 return: string The Type Plural name. |
| row_actions( $actions = array() X-Ref |
| Customizes the Types Admin list table row actions. param: array $actions The table row actions. param: WP_Term $type The current BP Type for the row. since: 7.0.0 return: array The table row actions for the current BP type. |
| Generated: Fri Nov 7 01:00:56 2025 | Cross-referenced by PHPXref 0.7.1 |