Description
Add filters for the $post_type
Usage
oikth_columns_and_titles( $post_type );Parameters
- $post_type
- ( string ) required – the Custom Post type name
Returns
voidSource
File name: oik-themes/oik-themes.phpLines:
1 to 7 of 7
function oikth_columns_and_titles( $post_type ) { $post_type_namify = bw_function_namify( $post_type ); add_filter( "manage_edit-{$post_type}_columns", "{$post_type_namify}_columns", 10, 2 ); add_action( "manage_{$post_type}_posts_custom_column", "bw_custom_column_admin", 10, 2 ); add_filter( "oik_table_fields_{$post_type}", "{$post_type_namify}_fields", 10, 2 ); //add_filter( "oik_table_titles_{$post_type}", "{$post_type_namify}_titles", 10, 3 ); }View on GitHub
Called by
1 to 2 of 2
Invoked by
Call hooks
API Letters:
