Add/Remove Inbox Column

Description

Use this filter to add/remove column from Inbox page.

Usage


add_filter( 'owf_manage_inbox_column_headers', 'add_hide_inbox_column_headers', 10, 1 );

Parameters

  • $inbox_column_headers – an array of inbox table column header name.

Example


add_filter( 'owf_manage_inbox_column_headers', 'add_hide_inbox_column_headers', 10, 1 );

public function add_hide_inbox_column_headers( $inbox_column_headers ) {
      // Remove category column
      unset($inbox_column_headers['category']);

      // Add author image column header
      $inbox_column_headers['author_image'] = '<th>'. __('Author Image', 'oasisworkflow' ).'</th>';

      return $inbox_column_headers;
   }

Source Code

The filter is located in oasis-workflow-pro/includes/class-ow-inbox-service.php

Didn't find what you are looking for? Submit a Query