You need to add another action to allow anonymous (not logged in) users to submit the form.
add_action( 'admin_post_udalosti', 'proved_udalosti_test' );
// Allows anyone to submit this form.
add_action( 'admin_post_nopriv_udalosti', 'proved_udalosti_test' );
Related Posts:
- How to enqueue JavaScripts in a plugin
- In Which Contexts are Plugins Responsible for Data Validation/Sanitization?
- Should Plugin Folders Include a Blank index.php File?
- register_uninstall_hook() vs uninstall.php – which one is better way to handle plugin uninstallation script?
- Fatal error: Class ‘ms\WP_Query’ not found on plugin initialization [closed]
- Email verification for new users
- How to implement bulk actions in my plugin?
- How to properly sanitize strings for update_option()
- Dashboard like meta boxes in my plugin – how to save their position and open/closed state?
- Using AJAX in FrontEnd with WordPress Plugin Boilerplate (wppb.io)
- How do I implement a jQuery UI dialog modal in a WP plugin?
- WP Cron – Run Cron after evey 15 minutes at a specific time for the next three hours
- Authoritative answer on which boots first – Plugins or Themes?
- How to Add Font Awesome Icons to WordPress Menus?
- Overwriting Core WordPress Functions with Plugins
- How do I handle multiple Submit buttons in plugin’s option page?
- Hello dolly type plugin that allows people to add their own
- How to properly load text domain of custom mu plugin
- Whats the difference between blog_info(‘stylesheet_url’) difference get_stylesheet_uri()
- Is the usage of ON DELETE CASCADE wrong or not allowed on wordpress?
- using get_option to add a different js
- Add Submenu Link in add_submenu_page That Opens in a New Window
- WordPress Hook for user account activation in normal Wp (not MU)
- How to check if a stylesheet is already loaded?
- How do I change the initial quantity of a product in woocommerce?
- Redirect traffic to plugin
- Where to call wp_enqueue_script in a plugin with custom template?
- How to insert data to a database table when the field is not yet created?
- Show special field when correct shipping is chosen
- Custom Taxonomy to dropdown box on adminside wordpress
- On cliking add new post redirect user to a custom page first
- do_action and add_action on two different installed plugins won’t work
- How to override gutenberg paragraph block edit property
- How to fetch only current hour posts?
- parse content from wikipedia article replacing search term with the title of article
- Fatal error: Uncaught Error: Call to undefined function get_option()
- Strange Situation When Try To Retrieve Github Gist Using wp_remote_get
- template_redirect or admin-ajax.php?
- jQuery does not enqueue for my purpose… (before an inline script in the footer)
- how to get all the child category name in a specified category name?
- Widget HTML Display Problem
- Can I add custom css to an mu-plugin?
- Change WooCommerce Email Header using custom plugin
- How to get the current page Title and Page URL in footer.php
- insert query on a custom table using ajax with jQuery plugin Jeditable
- How to add search form in main page body?
- Activate theme via plugin script?
- WordPress Rest API with rest_do_request, possible race condition?
- Need help about understand api, wp, $ syntax in WordPress plugin script
- Is it possible to use WP-CLI in a plugin (or theme)?
- How to rename the plugin PHP file without affecting existent users?
- Add location tag to wordpress posts
- Open tab on current day problem jQuery and WordPress
- Load php file with jquery in single.php
- WordPress Page Reload Takes forever during theme development
- Restore svn trunk of my plugin repository to the initial state?
- Anyone using unzip_file successfully? It uploads the zip but doesn’t extract it!
- WP 3-way voting system: On to something! Please help!
- Why is the expected file not being deleted?
- How to determine which capability to use?
- How to add some basic inline CSS using existing plugin or theme?
- How does one update complex options?
- How to highlight a page in the page list (Admin Menu)?
- Hook to execute after deleting a Custom Taxonomy
- Forbidden Error in ajax call with wordpress
- How to use setAttributes outside of the edit function return
- WP plugin svn checkout 429 error “Too many requests”
- Custom non-template page on front end fails to render
- Add custom parameter for custom user role
- Post is uncatagorized in publish_post action
- WordPress Filesystem create CSS-File – get Shortcode ID for Name
- How to add admin.php to WP Admin Menu Link
- Use admin-post to submit form data to external database
- Add the Twitter Bootstrap framework for the development of my plugins
- Custom recurrence not working / Wp Cron event
- Code to add template to page
- Single_template for a custom post type created from a plugin is returning an empty page
- How to retrieve custom profile fields associated with different users
- Convert each new line in the textfield as a new value in an array
- Navigate to external link if last page or post in a category
- How do I control the list of Pages an author can see?
- create post of acf frontend not published and not trashed
- Is there a general way to get a themes primary colour?
- Why is ‘register_activation_hook’ undefined?
- How to work with AJAX and WordPress?
- How to Register/Link to .js Files in WordPress Dynamicaly in Header.php
- Add Page With Parent ID
- Thumbnails for media Library images
- How to specify widget order or css name via script?
- How to view plugin ratings?
- get_categories exclusion issues
- Best Way to Inventory the Media Library of a 200+ Multisite Installation?
- upload script in plugin development [duplicate]
- Apply function on all action hooks?
- How are themes and plugins localized using the gettext GNU framework?
- Theme, Plugin or Both?
- Accept only PDF file for upload
- filter on get_posts efficiently
- How to get custom user meta by id in custom Gutenberg block
- How to prepend a header section to all pages related to my WordPress Plugin