woocommerce_email_order_meta_keys

woocommerce_email_order_meta_keys

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_email_order_meta_keys') is found 1 times:

  • /includes/class-wc-emails.php line 501
    		 * Deprecated woocommerce_email_order_meta_keys filter.
    		 *
    		 * @since 2.3.0
    		 */
    		$_fields = apply_filters( 'woocommerce_email_order_meta_keys', array(), $sent_to_admin );
    
    		if ( $_fields ) {
    			foreach ( $_fields as $key => $field ) {
    				if ( is_numeric( $key ) ) {
    					$key = $field;
    				}