array( 'al_product' ), 'show' => array( '' ) ); } /** * Returns attributes field settings * * @return type */ function get_attributes_table_settings() { $settings = wp_parse_args( get_option( 'attributes_table_settings' ), default_attributes_table_settings() ); return $settings; } /** * Shows attributes field settings fields * */ function attributes_table_settings() { $post_types = get_post_types( array( 'publicly_queryable' => true ), 'objects' ); unset( $post_types[ 'attachment' ] ); echo '