Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Muhammad Ali Akbar

    (@alireyad)

    Add below code in child theme functions.php file

    remove_action( 'rtcl_listing_form_end', [ \Rtcl\Controllers\Hooks\TemplateHooks::class, 'listing_form_submit_button' ], 50 );
    add_action('rtcl_listing_form_end', function ( $post_id ) {
        ?>
        <button type="submit" class="btn btn-primary rtcl-submit-btn">
    		<?php
    		if ( $post_id > 0 ) {
    			esc_html_e( 'Add Update text here', 'classified-listing' );
    		} else {
    			esc_html_e( 'Add Submit text here', 'classified-listing' );
    		} ?>
        </button>
        <?php
    }, 50);

    Thank You

    Plugin Support Muhammad Ali Akbar

    (@alireyad)

    Change the text as your choice for ‘Submit’ and ‘Update’.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘updates – Submit button’ is closed to new replies.