WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

woocommerce_register_post_type_shop_order хук-фильтр . WC 1.0

Использование

add_filter( 'woocommerce_register_post_type_shop_order', 'filter_function_name_4230' );
function filter_function_name_4230( $array ){
	// filter...

	return $array;
}
$array
-

Где вызывается хук

WC_Post_Types::register_post_types()
woocommerce_register_post_type_shop_order
woocommerce/includes/class-wc-post-types.php 375-411
apply_filters(
	'woocommerce_register_post_type_shop_order',
	array(
		'labels'              => array(
			'name'                  => __( 'Orders', 'woocommerce' ),
			'singular_name'         => _x( 'Order', 'shop_order post type singular name', 'woocommerce' ),
			'add_new'               => __( 'Add order', 'woocommerce' ),
			'add_new_item'          => __( 'Add new order', 'woocommerce' ),
			'edit'                  => __( 'Edit', 'woocommerce' ),
			'edit_item'             => __( 'Edit order', 'woocommerce' ),
			'new_item'              => __( 'New order', 'woocommerce' ),
			'view_item'             => __( 'View order', 'woocommerce' ),
			'search_items'          => __( 'Search orders', 'woocommerce' ),
			'not_found'             => __( 'No orders found', 'woocommerce' ),
			'not_found_in_trash'    => __( 'No orders found in trash', 'woocommerce' ),
			'parent'                => __( 'Parent orders', 'woocommerce' ),
			'menu_name'             => _x( 'Orders', 'Admin menu name', 'woocommerce' ),
			'filter_items_list'     => __( 'Filter orders', 'woocommerce' ),
			'items_list_navigation' => __( 'Orders navigation', 'woocommerce' ),
			'items_list'            => __( 'Orders list', 'woocommerce' ),
		),
		'description'         => __( 'This is where store orders are stored.', 'woocommerce' ),
		'public'              => false,
		'show_ui'             => true,
		'capability_type'     => 'shop_order',
		'map_meta_cap'        => true,
		'publicly_queryable'  => false,
		'exclude_from_search' => true,
		'show_in_menu'        => current_user_can( 'manage_woocommerce' ) ? 'woocommerce' : true,
		'hierarchical'        => false,
		'show_in_nav_menus'   => false,
		'rewrite'             => false,
		'query_var'           => false,
		'supports'            => array( 'title', 'comments', 'custom-fields' ),
		'has_archive'         => false,
	)
)

Где используется хук (в ядре WC)

Использование не найдено.