woocommerce_

woocommerce_

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

do_action('woocommerce_') is found 6 times:

  • /includes/admin/settings/class-wc-settings-accounts.php line 268
    		 * @hook woocommerce_account_settings
    		 * @since 3.5.0
    		 * @param array $account_settings Account settings.
    		 */
    		return apply_filters( 'woocommerce_' . $this->id . '_settings', $account_settings );
    	}
    
    	/**
    	 * Output the HTML for the settings.
    	 */
    	public function output() {
    
  • /includes/class-wc-countries.php line 1727
    		 * the woocommerce_default_address_fields. The locales/default locales apply on top based
    		 * on country selection. If you want to change things like the required status of an
    		 * address field, filter woocommerce_default_address_fields instead.
    		 */
    		$address_fields = apply_filters( 'woocommerce_' . $type . 'fields', $address_fields, $country );
    		// Sort each of the fields based on priority.
    		uasort( $address_fields, 'wc_checkout_fields_uasort_comparison' );
    
    		return $address_fields;
    	}
    }
    
  • /includes/class-wc-data-store.php line 92
    			$object_type = $pieces[0];
    		}
    
    		if ( array_key_exists( $object_type, $this->stores ) ) {
    			$store = apply_filters( 'woocommerce_' . $object_type . '_data_store', $this->stores[ $object_type ] );
    			if ( is_object( $store ) ) {
    				if ( ! $store instanceof WC_Object_Data_Store_Interface ) {
    					throw new Exception( __( 'Invalid data store.', 'woocommerce' ) );
    				}
    				$this->current_class_name = get_class( $store );
    				$this->instance           = $store;
    
  • /src/Internal/Admin/Orders/ListTable.php line 386
    		 * @param array $request Request to be passed to `wc_get_orders()`.
    		 *
    		 * @since 7.3.0
    		 */
    		$this->request = apply_filters( 'woocommerce_' . $this->order_type . '_list_table_request', $this->request );
    
    		$this->set_status_args();
    		$this->set_order_args();
    		$this->set_date_args();
    		$this->set_customer_args();
    		$this->set_search_args();
    
  • /src/Internal/Admin/Orders/ListTable.php line 411
    		 * @param array $query_args Arguments to be passed to `wc_get_orders()`.
    		 *
    		 * @since 7.3.0
    		 */
    		$order_query_args = apply_filters( 'woocommerce_' . $this->order_type . '_list_table_prepare_items_query_args', $order_query_args );
    
    		// We must ensure the 'paginate' argument is set.
    		$order_query_args['paginate'] = true;
    
    		$orders      = wc_get_orders( $order_query_args );
    		$this->items = $orders->orders;
    
  • /src/Internal/Admin/Orders/ListTable.php line 768
    		 * @since 8.6.0
    		 *
    		 * @param bool   $disable   Whether to disable the drop-down. Default false.
    		 */
    		if ( apply_filters( 'woocommerce_' . $this->order_type . '_list_table_disable_months_filter', false ) ) {
    			return;
    		}
    
    		$m = isset( $_GET['m'] ) ? (int) $_GET['m'] : 0;
    		echo '<select name="m" id="filter-by-date">';
    		echo '<option ' . selected( $m, 0, false ) . ' value="0">' . esc_html__( 'All dates', 'woocommerce' ) . '</option>';