'channel', ) ); add_settings_field( 'wc-beta-tester-auto-update', __( 'Automatic Updates', 'woocommerce-beta-tester' ), array( $this, 'automatic_update_checkbox_html' ), 'wc-beta-tester', 'wc-beta-tester-update', array( 'label_for' => 'auto_update', ) ); } /** * Update section HTML output. * * @param array $args Arguments. */ public function update_section_html( $args ) { ?>
array( 'name' => __( 'Beta Releases', 'woocommerce-beta-tester' ), 'description' => __( 'Beta releases contain experimental functionality for testing purposes only. This channel will also include RC and stable releases if more current.', 'woocommerce-beta-tester' ), ), 'rc' => array( 'name' => __( 'Release Candidates', 'woocommerce-beta-tester' ), 'description' => __( 'Release candidates are released to ensure any critical problems have not gone undetected. This channel will also include stable releases if more current.', 'woocommerce-beta-tester' ), ), 'stable' => array( 'name' => __( 'Stable Releases', 'woocommerce-beta-tester' ), 'description' => __( 'This is the default behavior in WordPress.', 'woocommerce-beta-tester' ), ), ); echo '