woocommerce_coupon_code_generator_suffix

woocommerce_coupon_code_generator_suffix

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_coupon_code_generator_suffix') is found 1 times:

  • /includes/admin/class-wc-admin-assets.php line 346
    						'generate_button_text' => esc_html__( 'Generate coupon code', 'woocommerce' ),
    						'characters'           => apply_filters( 'woocommerce_coupon_code_generator_characters', 'ABCDEFGHJKMNPQRSTUVWXYZ23456789' ),
    						'char_length'          => apply_filters( 'woocommerce_coupon_code_generator_character_length', 8 ),
    						'prefix'               => apply_filters( 'woocommerce_coupon_code_generator_prefix', '' ),
    						'suffix'               => apply_filters( 'woocommerce_coupon_code_generator_suffix', '' ),
    					)
    				);
    			}
    			/* phpcs: enable */
    			if ( in_array( str_replace( 'edit-', '', $screen_id ), array( 'shop_coupon', 'product' ), true ) || $this->is_order_meta_box_screen( $screen_id ) ) {
    				$post_id                = isset( $post->ID ) ? $post->ID : '';