Support Forum

Any way to add the "spam tool" to a custom registration form?

IO ionblue
ionblue
Member

I’d like to create a completely custom registration form without the need to hack into the wp_login file, but I’d also like to keep the “spam tool” function of SP. Is there a way to hook into that on a custom form?

Thanks.

3 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Absolutely. Taking the standard WordPress registration form just make sure you include all of the ‘do_action’ and ‘apply_filters’ calls in the correct place with the same parameters.

Have you looked at some of the options available in WordPress plugins. Theme My Login – for example – also, I believe, can build a custom registration form. We used to do it within Simple:Press but the WordPress core used to change so often in this area we were constantly having to  change it to match and in the end just gave up! Although in al fairness I think it has settled down more in recent times.

IO ionblue
ionblue
Member

Thanks sir. Yeah I’m trying to utilize a plugin, but it didn’t tie into the stock registration form at all. So I just added do_action(‘register_form’) in the appropriate spot and sure enough everything else rendered. Don’t know why I didn’t think of that!

YS Yellow Swordfish
Yellow Swordfish
Member

Those filter and action hooks are really smart and one of the best things that WordPress every put in place. Makes all this possible…