Osclass Support Forums

Osclass plugin support => Backoffice Manager Plugin => Topic started by: jcarrolo01 on April 13, 2021, 10:44:36 PM

Title: Question about {REPUBLISH_URL}
Post by: jcarrolo01 on April 13, 2021, 10:44:36 PM
Hello...

I have a question regarding the {REPUBLISH_URL}

This {REPUBLISH_URL} comes with

Code: [Select]
<a href="https://www.mysite.com/oc-content/plugins/backoffice_manager/republish.php?item_id=140> Some Text </a>
and to build it in a button i only need
Code: [Select]
https://www.mysite.com/oc-content/plugins/backoffice_manager/republish.php?item_id=140
There is any way to archive this???

Best regards
João Carrolo
Title: Re: Question about {REPUBLISH_URL}
Post by: MB Themes on April 19, 2021, 04:24:46 PM
@jcarrolo01
You can update email.php of plugin, it will be something like:
Code: [Select]
  $url  = '<a href="' .$raw_url . '" >' . __('Republish listing #', 'backoffice_manager') . $item['pk_i_id'] . '</a>';