well it looks like I worked this out.
On the actual admin page I need to declare my $errors array as global as well
global $errors;
I guess wordpress must somehow box the admin page into a function and so the $errors array was not referencing the global var.
Related Posts:
- Trying to add admin file upload form plugin
- Custom Form only for admin
- Create tabs inside Plugins Admin Page [closed]
- What are the best practices for updating?
- How to set back-end language per user?
- Is There a WordPress Hook to Filter the Edit Posts View?
- Changing wp login url without .htaccess
- How to remove duplicate sub-menu name for top level menu items in a plugin?
- Get selected values from checkboxes and radio buttons via Gravity Forms gform_after_submission hook [closed]
- Custom plugin settings: clicking “save changes” does not display success message
- Can Not Redirect from Plugin-Registered Admin Page
- How to disable autocomplete for inputs in contact form 7? [closed]
- WordPress Plugin Look & Feel
- How can I get a list of plugins and which blogs are using them?
- WordPress Custom Application form
- When is it useful to use wp_verify_nonce
- Datepicker not supporting timepicker
- add function to saving change on Options Pages
- How to set CORS header?
- Admin page: form with enctype=”multipart/form-data” does not transfer its data
- How do I remove the entire left nav bar in admin for certain level users?
- Making menu link open in new tab?
- How to handle admin and passwords requests from plugins developers?
- Redirect to a welcome page after updating plugin
- How can I make uploaded images in the editor load with HTTPS?
- Hook into and send mail using WP Mail SMTP type plugin from HTML static front page?
- Form isn’t inserting data into database with ajax plugin
- All Users > User List > Update User Meta Field Inline
- Plugin dependencies: show notice like theme plugins dependencies
- wp_redirect() Error in Custom Plugin
- Is there any way to use google input tool or any other language keyboard with WordPress [closed]
- Take input from form and pass it to function using a wp-plugin
- Checkbox conflict in my custom plugin admin page
- WP Plugins – Use includes to display page content
- How to change the name of the “edit my profile” link in the WordPress admin backend
- Plugin to create forms using HTML [closed]
- How to allow user to select User ID in Formidable Pro form? [closed]
- Sync User to cPanel webmail?
- Adding CSS to custom post type admin page causes error
- Display Custom Field Value on Admin Page Column
- How to remove/hide Yoast’s “SEO” tab in admin panel?
- Admin AJAX doesn’t work in plugin admin page – Even though code is copied verbatim from WordPress Codex
- Detailed form plugin, with ability to export to excel etc. OR edit PDF live? [closed]
- Move plugin-settings to ‘Settings’-menu in the admin
- How do I add some javascript validation to the admin interface form’s onsubmit?
- remove all submenus from plugin
- Create WordPress posts from JSON array using plugin in admin
- Plugin getting Cannot modify header information errors
- creating a plug in that would tap into save/update action of posts [closed]
- How to see which sites use my installed plugins (wordpress multisite)
- How to use the CSS of the WordPress core in the development of my administration page?
- WordPress permissions error with admin account
- getting notifications about updates only in the “core” page
- How can ι create my own (custom) WordPress table/list?
- Sell access to form [closed]
- File Uploader – Upload without adding to Media Library
- Problem after updating plugins
- How to redirect to a page after the form is submitted
- Remove specific administrator’s capability
- problem with register_activation_hook in plugin
- Is it save to replace with in WordPress search form
- How to hide plugin options for editors via functions.php
- How to add captcha to publish widget
- Plugin for visitors to edit content without logging in? [closed]
- WordPress Forms Advance Conditional Logic
- login form should redirect to register page for in 1st login next time it should redirected to home page
- Can I create a separate admin section for my plugin?
- Woocommerce redirection if no previous orders
- General Term for this form Field
- wp_set_password() does not work!
- Custom Formdata matching with user table
- Creating posts with acf_form() that has a relationship type field
- Ajax call to php function doesn’t work PHP code
- Disable plugin for administrator
- redirect to a custom page
- After form submission want to show success message in the form page
- How to hide the form after successful php execution
- Wordress admin page is fetching error You do not have sufficient permissions to access this page.
- Admin page and admin menu. Permissions plugin
- WP_Filesystem usage within a block of code
- I created a custom form in HTML/CSS and now I need it to submit … should I create custom PHP or is there a plugin I can use?
- How can i see/log all requests coming from a registration form (not from the UI)?
- Plugins not activated after update?
- How do I convince this button to do something when it is clicked?
- wordpress option page data from select form is not saving to database
- Create a blank admin page from plugin
- Carrying information from button click into form [closed]
- how to call jQuery in admin as well as in homepage
- WordPress plugins not showing after switching servers
- Creating fields in the database
- Allow users to enter and edit data in one-to-many configuration
- Can’t edit Contact Us form on front page
- Build a Boat Form Plugin [closed]
- Need help with restricted page for users
- How to get an error message if a form is empty (plugin: Post for site) [closed]
- How to Allow Users to Select Recipients In a WordPress Comment section?
- Form with response button after on table after submission
- Tips on using a custom template with Ultimate Member
- Display Any Field fromAdmin Panel in Frontend via Shortcode?
- Display file contents within Plugin