Yes, it can work. But you should filter the email in the custom field. Users might have a error in his context or the mail address is wrong.
You can filter the email address with filter_var()
Related Posts:
- Best collection of code for your 'functions.php' file [closed]
- Should all plugins be encapsulated in a Class?
- How can I edit post data before it is saved?
- How can I delete orphan keys in WordPress database tables?
- Is it a good idea to edit an already existing plugin to add more functionality?
- OpenID for WordPress 3.x? [duplicate]
- Pluggable function and activation check?
- Get a button for in the Editor
- How do I extend one plugin I’m writing with another I’m writing using classes?
- Some way to Flush or Overwrite all Imported Content in a Site for a Fresh Import – How?
- Which functions in theme or plugin load first
- Add CSS animation as Preloader to WordPress
- Image Crop/Resize Function/Code Sinppet/Plugin to adjust/crop images during upload
- WP get_permalink Return Wrong URL
- WP Plugin for Terms of Use
- How to add product images using script?
- Woocommerce: Changing the variations select default value? [closed]
- Automagic Link Shortening for Non-Hosted WP
- Setting up widgets in wordpress with a unique ID for the after_title argument
- Akismet plugin is deleting spam despite preferences
- MailChimp integration that allows users to select from multiple lists [closed]
- Distributing and packaging plugins
- Use plugin or custom post type for game score functionality
- Multiple Instances sharing the same database in a development environment
- How to Replace Words with Hypertext Link But Ignore Previously Existed Links?
- How to add rewrite rules and pagination to retrieve attachments files?
- Copyright messages for a particular set of pages
- how to load the language file in plugin?
- View Private Published Page with URL Code (no login required)
- Input with spaces in Shortcode attributes overwritten by defaults
- Translating long texts with html formatting
- Do widget options need to be escaped widget()?
- Is there any W3C compatible Share & Follow plugin?
- Does any one have Idea to get these functionalities with the plugin wp-multi-network
- custom payment gateway in woocommerce failed to connect to remote api server
- Send reply with pre-prepared answers
- Anspress Customization: How to show logged in user votes on a single answer?
- How create Group Blogs based on user created Groups
- Custom table naming/access convention for multisite: $table_prefix vs base_prefix or other?
- date/time-picker and file upload (image) fields for custom fields (e.g. with more fields)
- Getting Theme element into plugins page editor in wp admin
- Inserting custom PHP script on homepage
- Best practice for including plugin output in a template without using shortcode?
- a weird attribute on every html tag
- How to change the wp_upload_dir() path in plugin
- Disable plugin only for one post
- Free paypal cart solution [closed]
- Which plugin can do horizontal scrolling of RSS feeds in WordPress [closed]
- wp-mail attachment is not sent for no reason?
- I am trying to make a field show and save from quickedit screen
- Advanced WordPress plugin activation detection
- how to change wp-admin url using function file
- Calling a save function from a “submit” button
- trigger email when post is published by someone a user follows
- Is there a way to easily manage Project options (custom-fields)
- Renaming Custom Taxonomy Values
- Add a “default sorting” menu to child store pages
- Widget where it can make changes to the container
- Plugin code will not work properly inside a class [closed]
- Can’t create new CPTs when menu hidden
- Gathering all Custom Post Type posts in to array/object the proper way
- Link Posts to External URL
- Multiple Post Thumbnails Plugin – Need help with code
- Custom Post Type, Custom Columns List
- How to prevent plugin, theme installation failures on WordPress?
- WordPress search input in database, to edit information via form and update the database
- Adding category base to url in custom post giving 404?
- How can I send the mail once?
- Post source link plugin – small modification
- Can we hide a certain user in WP?
- How Can I Increase Breadcrumb Position Count (Starting From 2)?
- WordPress hierarchy clarification, does post_type_archive take precedence over taxonomy-term archive?
- wp_mail function not working in WordPress Plugin Boilerplate
- Create survey that redirects to sidebar menu customized to answers
- Load my Inline js footer area
- Move plugin upload folder from mywebsite.com/wp-content/uploads/pdfuploads to mywebsite.com/pdfs?
- Woocommerce list variations that are added already to cart in Single Product
- Flexslider empty slide
- How to fix slow comment query?
- Share on social media created listing after submission
- Translation plugin with default language?
- Best approach to serve static content within a regular page
- Custom pages with plugin
- WP plugin calls for custom pages
- Changing the body of mail sent to new user registration
- Which One Is Better For Managing Add Ons For Extensible Plugin?
- Multiselect value in wp_query
- get_var result empty for query of custom table in plugin admin
- Posts are deleted everyday at night
- [Custom field template plugin] Upload limited to 20 inputs file
- I want to remove the register/login WordPress top bar from my website
- Change the behaviour of archive cpt category and single cpt by plugin, not by theme
- do_shortcodes() isn’t working
- WordPress Code Access to Restricted Content without Registration
- What can I do to customize a widget provided with this plugin? from where have I to start?
- WordPress: code structure
- Can anyone tell some online tuts for plugin development for beginner? [closed]
- How to pre-set WordPress settings for specific posts?
- Create Custom Coupon Type
- Using ACF to allow user to add and edit multiple saved forms