/home/suroeste/public_html/wp-content/plugins/woocommerce/src/Blocks/Domain/Services
NameSizeModeActions
Email/-0755rm
OnboardingTasks/-0755rm
CheckoutFields.php466600644editdlrm
CheckoutFieldsAdmin.php54200644editdlrm
CheckoutFieldsFrontend.php108880644editdlrm
CreateAccount.php24090644editdlrm
DraftOrders.php74550644editdlrm
FeatureGating.php45640644editdlrm
functions.php29590644editdlrm
GoogleAnalytics.php36810644editdlrm
Hydration.php83730644editdlrm
Notices.php36240644editdlrm
Edit: /home/suroeste/public_html/wp-content/plugins/woocommerce/src/Blocks/Domain/Services/functions.php (2959B)
get( CheckoutFields::class ); $result = $checkout_fields->register_checkout_field( $options ); if ( is_wp_error( $result ) ) { throw new \Exception( esc_attr( $result->get_error_message() ) ); } } } if ( ! function_exists( '__experimental_woocommerce_blocks_register_checkout_field' ) ) { /** * Register a checkout field. * * @param array $options Field arguments. See CheckoutFields::register_checkout_field() for details. * @throws \Exception If field registration fails. * @deprecated 5.6.0 Use woocommerce_register_additional_checkout_field() instead. */ function __experimental_woocommerce_blocks_register_checkout_field( $options ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionDoubleUnderscore,PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.FunctionDoubleUnderscore wc_deprecated_function( __FUNCTION__, '8.9.0', 'woocommerce_register_additional_checkout_field' ); woocommerce_register_additional_checkout_field( $options ); } } if ( ! function_exists( '__internal_woocommerce_blocks_deregister_checkout_field' ) ) { /** * Deregister a checkout field. * * @param string $field_id Field ID. * @throws \Exception If field deregistration fails. * @internal */ function __internal_woocommerce_blocks_deregister_checkout_field( $field_id ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionDoubleUnderscore,PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.FunctionDoubleUnderscore $checkout_fields = Package::container()->get( CheckoutFields::class ); $result = $checkout_fields->deregister_checkout_field( $field_id ); if ( is_wp_error( $result ) ) { throw new \Exception( esc_attr( $result->get_error_message() ) ); } } }