woocommerce_downloadable_file_permission_data

woocommerce_downloadable_file_permission_data

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_downloadable_file_permission_data') is found 1 times:

  • /includes/data-stores/class-wc-customer-download-data-store.php line 115
    		);
    
    		$result = $wpdb->insert(
    			$wpdb->prefix . 'woocommerce_downloadable_product_permissions',
    			apply_filters( 'woocommerce_downloadable_file_permission_data', $data ),
    			apply_filters( 'woocommerce_downloadable_file_permission_format', $format, $data )
    		);
    
    		return $result ? $wpdb->insert_id : false;
    	}