Document_Edit implements Registerable, Service, Conditional

Handles functionality on the Documents Edit and New Document screens

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable
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.

Tags
Return values
array<string|int, mixed>

The list of hidden columns.

is_required()

{@inheritdoc}

public is_required() : mixed
Tags
Return values
mixed

register()

{@inheritdoc}

public register() : mixed
Tags
Return values
mixed

show_default_custom_fields()

Show default custom fields even if ACF is active.

public show_default_custom_fields() : mixed
Tags
Return values
mixed

Search results