Consider this, I have a shortcode that generates a random number and it shows it to the user one time. It's the password btw.
I want to extract that passwords which is clearly displayed on the page along with e-mail and username. And store it into an array,
then that array will send that information to another script or a script inside the page which will pass those values into something else. I want to know if there is a way to do this. The language of choice is PHP.
Pretty sure this is simple enough, Here are the resources I have dug up so far.
http://www.oomphinc.com/notes/2013/04/finding-shortcodes-in-wordpress-post-content-using-regular-expressions/https://wordpress.stackexchange.com/questions/35834/extract-shortcodes-from-stringhttps://codex.wordpress.org/Function_Reference/get_shortcode_regexhttp://bavotasan.com/2011/run-a-shortcode-anywhere-in-wordpress/https://wordpress.org/support/topic/extract-shortcode-out-of-the_content
Comments
So, basically I would need to add a function to the file and then insert the shortcode into the page and it should do the trick.
Wishlist Auto Registration includes a special hook that receives the new member information after a successful registration.
Using simple WordPress code you can extend Wishlist Auto Registration and perform any action you want after a member has successfully registered.
The action is called "wlau_member_registration" and it receives 2 parameters: $member_information , $data
$member_information is a Wishlist Member user object which is very similar to WordPress regular user object
$data which is the data that was use to register the member. It is an associative array.
Using this action you can perform anything that you want after a successful information, including transferring the information to any external software or script.
Just to let you know, you will need developer knowledge to accomplish that and we do not support for custom extensions ans it is behind or support scope.
If you don't have developer knowledge we can custom develop this solution for you.
A short code extracting information from another shortcode.
I know but I found another solution and Iw ill talk about it here.