Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WP Job Manager - Changing Dashboard Columns
add_filter( 'job_manager_job_dashboard_columns', 'custom_job_manager_job_dashboard_columns' );
/**
* Columns are the existing columns found here: https://github.com/Automattic/WP-Job-Manager/blob/master/includes/class-wp-job-manager-shortcodes.php#L161-L166
*/
function custom_job_manager_job_dashboard_columns( $columns ) {
// Add a colunn
$columns['new_column'] = 'New Column Heading';
// Remove a column
unset( $columns['job_listing_category'] );
// Change a heading on existing column
$columns['job_location'] = 'Changed Heading';
// Return
return $columns;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.