Document_Edit implements Registerable, Standard_Service, Conditional
Handles functionality on the Documents Edit and New Document screens
Tags
Interfaces, Classes and Traits
- Registerable
- Standard_Service
- Conditional
Table of Contents
- hide_author_metabox() : array<string|int, mixed>
- Hide the author column by default.
- is_required() : mixed
- {@inheritdoc}
- register() : mixed
- {@inheritdoc}
- show_default_custom_fields() : mixed
- Show default custom fields even if ACF is active.
Methods
hide_author_metabox()
Hide the author column by default.
public
hide_author_metabox(array<string|int, mixed> $hidden, WP_Screen $screen) : array<string|int, mixed>
Parameters
- $hidden : array<string|int, mixed>
-
The list of hidden columns.
- $screen : WP_Screen
-
The current screen.
Return values
array<string|int, mixed> —The list of hidden columns.
is_required()
{@inheritdoc}
public
is_required() : mixed
Return values
mixed —register()
{@inheritdoc}
public
register() : mixed
Return values
mixed —show_default_custom_fields()
Show default custom fields even if ACF is active.
public
show_default_custom_fields() : mixed