woocommerce_permission_list

woocommerce_permission_list

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_permission_list') is found 1 times:

  • /includes/wc-user-functions.php line 598
     * @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.