You appear to be a bot. Output may be restricted
Description
Add filters for the $post_type
Usage
oikp_columns_and_titles( $post_type );
Parameters
- $post_type
- ( string ) required – the Custom Post type name
Returns
void
Source
File name: oik-shortcodes/oik-shortcodes.php
Lines:
1 to 9 of 9
function oikp_columns_and_titles( $post_type ) { if ( function_exists( "bw_function_namify" ) ) { $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 ); } }