Recent

Bulk_Editclass

Bulk_Edit

Class Bulk Edit functionality.

Namespace: WebberZone\Contextual_Related_Posts\Admin
Since: 3.4.0
Source: includes/admin/class-bulk-edit.php line 21

Methods

__construct()

CRP_Bulk_Edit constructor.

Line: 26

public function __construct(  );

enqueue_scripts()

Enqueue scripts and styles.

Line: 40

public function enqueue_scripts( $hook );
Type Name Description
string $hook The current admin page.

add_custom_columns()

Add custom columns to the posts list table.

Line: 69

public function add_custom_columns(  );

add_admin_columns()

Add custom columns to the posts list table.

Line: 86

public function add_admin_columns( $columns ): array;
Type Name Description
array $columns The existing columns.

Returns: array — The modified columns.

populate_custom_columns()

Populate the custom columns with data.

Line: 97

public function populate_custom_columns( $column_name, $post_id );
Type Name Description
string $column_name The name of the column.
int $post_id The ID of the post.

quick_edit_custom_box()

Add custom field to quick edit screen.

Line: 136

public function quick_edit_custom_box( $column_name );
Type Name Description
string $column_name The name of the column.

save_post_meta()

Save custom field data.

Line: 182

public function save_post_meta( $post_id );
Type Name Description
int $post_id The post ID.

save_bulk_edit()

Save bulk edit data.

Line: 223

public function save_bulk_edit(  );