apply_filters( "wpcd_wordpress-app_initial_server_attributes_wc", $attributes, $item, $items, $user, $subscription );
This hook is fired just before data is passed off to the server creation routine.
It is triggered only by the SELL SERVERS WITH WOOCOMMERCE add-on. Servers created by the normal WPCD screens do NOT trigger this hook.
It’s a great place to take any additional fields you’ve added to the server creation popup screen and insert it into the array of server information that will be stored in the server custom post type record.
This filter is for servers created when a user is purchasing a server via WooCommerce. Servers created in wp-admin have a different filter with different parameters.
Located in:
This hook is only available in WPCD versions 4.2.5 or later.