woocommerce_permission_list

woocommerce_permission_list

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_permission_list') is found 1 times:

  • /includes/wc-user-functions.php line 599
     * @return array
     */
    function wc_get_customer_download_permissions( $customer_id ) {
    	$data_store = WC_Data_Store::load( 'customer-download' );
    	return apply_filters( 'woocommerce_permission_list', $data_store->get_downloads_for_customer( $customer_id ), $customer_id );
    }
    
    /**
     * Get customer available downloads.
     *
     * @param int $customer_id Customer/User ID.