• Resolved Houdini

    (@romariokg)


    Bro, I need to remove (hide) the “Promote and delete” button. What is the hook for the function. php can I use? Please write separately for each button. Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Support Ali Akbar Reyad

    (@alireyad)

    Hi,
    Add following code in child theme functions.php file –

    add_action( 'init', function () {
    remove_action( 'rtcl_my_listing_actions', [ \Rtcl\Controllers\Hooks\TemplateHooks::class, 'my_listing_promotion_button' ] );
    remove_action( 'rtcl_my_listing_actions', [ \Rtcl\Controllers\Hooks\TemplateHooks::class, 'my_listing_delete_button' ], 30 );
    } );

    Thank you

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.