add_action("wpcf7_before_send_mail", "wpcf7_web_to_salesforce_lead");
function wpcf7_web_to_salesforce_lead(&$wpcf7_data) {
// Do salesforce thing here
// All needed data can be found in $wpcf7_data as object
$wpcf7_data->skip_mail = true;
}
:) Just had to link you - can't allow others to take the credits ;)
And about the rep points: I can only see it on my user name drop down ↑ there. In the profile it seems to be ok. Just sad that no one wants to offer full code for rep points...
Phew! Just had a call from the client that there is a "page not found" on her homepage and that ALL pages and all other content is gone. It looked more vanilla then fresh WP install :)
Now I know that next time I will want to scare the client to death all I need is to crash the wp_posts table :P
The following is a "digest" version of the 2012 Moderator Election Town Hall Chat. The format, as described on Meta Stack Overflow, is one answer to this question for every question asked in the Town Hall, containing all the candidate's answers to that question.
To view the digest chronologicall...
I asked this in StopPress, and was informed it's a good question to put here.
I can't find anywhere where I can view just Community Wiki questions, is this normal or is there a link I am not seeing to such questions?
Thanks!
I wanted to provide you with a few ideas but once I started I couldn't stop myself and wrote this little plugin with an obscure name to get you started.
<?php
/*
Plugin Name: WPSE Crowded Cats
Plugin URI: http://wordpress.stackexchange.com/questions/43419/how-do-i-create-a-way-for-users-to-a...
@toscho Thanks! Good point with that $_REQUEST. Nonces should definitely be there but I was lazy (and needed to get back to work) so I just put TODO:nonces in there. Terrible habit when the effort is almost the same :P
@toscho I'm not sure about that - I think it's one of the things that heavily depends on the OP's use-case.
I was also unsure whether to allow users unchecking it at all, but I will wait for some feedback from OP.
@toscho different and maybe a better approach would be to make it work like a voting system, and to collect votes for each term (store them in post meta), then the term itself would get auto-selected based on the total votes casted.