Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
Version 9
Chris MacLeod
0 points
Beginner
@Mark , you will probably be best placed to give a accurate straight forward response to this.
Initially I just wanted to see if I could choose to display the T&C’s checkbox only on the add listing page (rather than all the login/registration pages).
I looked at the wlt terms & conditions plugin code and there appears to be duplication with the add action. Is this duplication or 2 different areas?
Also can you confirm I can just delete (comment out) the hooks where i dont want the check box to appear.
@Mark , you will probably be best placed to give a accurate straight forward response to this.
Initially I just wanted to see if I could choose to display the T&C’s checkbox only on the add listing page (rather than all the login/registration pages).
I looked at the wlt terms & conditions plugin code and there appears to be duplication with the add action. Is this duplication or 2 different areas?
Also can you confirm I can just delete (comment out) the hooks where i dont want the check box to appear.
[b]add_action(‘register_form’,’wlt_register_tos’); [/b]
add_action(‘login_form’,’wlt_register_tos’);
[b]add_action(‘register_form’,’wlt_register_tos’);[/b]
if(!isset($_GET[‘eid’])){
add_action(‘hook_add_form_abovebutton’,’wlt_register_tos’);
Members Only Content
This reply is for PremiumPress customers only.
Login Now