You could use “save_post” hook to capture all submit within WP, for ex:
function just_got_you( $post_id ) {
if ($post_id != '123')
return;
<< do your logging stuff here >>
}
add_action( 'save_post', 'just_got_you', 10, 2 );
Change 123 to your page/post id. More reference here Save Post Hook
Related Posts:
- Where should my plugin POST to?
- Is it possible to filter the wp_footer() scripts, read the content, and insert them inline?
- When is it useful to use wp_verify_nonce
- wp_create_nonce function doesn’t work inside a plugin?
- How to verify/test that a custom built wordpress theme is as secure as possible?
- What security concerns should I have when setting FS_METHOD to “direct” in wp-config?
- What Are Security Best Practices for WordPress Plugins and Themes? [closed]
- Are WordPress Plugins essential?
- I found this in a plugin. What does it do? is it dangerous?
- What are the common security flaws I need to look for? [closed]
- Contact form 7 select box different value-text than content-text in option [closed]
- Disabled plugins are they security holes – rumor or reality?
- What could a hacker do with my wp-config.php
- How Can I Securely Implement a Password-less Login Feature?
- Security and .htaccess
- Why “Contact Form 7” doesn’t update PHPmailer library?
- Are there procedures to prevent malicious plugin updates?
- WP JSON REST API (Ryan McCue) how to query posts with specific meta data with ‘AND’ relation?
- Creating two database tables via plugin
- Query Posts by Custom Field ‘Price’
- WP_query parameters for date range
- Secure WordPress paid plugin
- How to make media upload private? [duplicate]
- Does WordPress contain “default” anti-SQL injection code that responds with a 404 error?
- insert data in database table from plugin with WP3.1
- Simple form that saves to database
- What does a security risk in a plugin look like?
- WordPress Capabilities: edit_user vs edit_users
- Let readers suggest edits from the frontend
- Should we use plugins that aren’t available from the official WordPress site?
- Get selected values from checkboxes and radio buttons via Gravity Forms gform_after_submission hook [closed]
- How to check plugins for malicious code?
- How to properly secure my WordPress installation?
- Why allow overriding crucial pluggable functions wp_verify_nonce and wp_create_nonce?
- Plugin development: how to create a form and get custom data?
- Security error WP 4.0 + WP phpBB Bridge [closed]
- Should I install plugins to my WordPress installation from web sites having in URL “nulled” or, “null”?
- Disabled plugins are security holes – rumor or reality?
- Multi step form, custom plugin
- Why am I sometimes getting a 404 error when I try to update a page with Elementor?
- Thumb rating for wordpress – top user
- Comparisson between date() and a date from wp_postmeta
- Find out if request is for custom post type archive before query runs
- Should I use RIPS tool to test my themes and plugins?
- How to extract images of post and pages excluding header and logo image in wordpress?
- shortcode doesn’t work
- Contact Form 7 plugin refreshing page on submit [closed]
- Template plugin for blog posts? [closed]
- Plugin form unable to process
- Prevent Brute Force Attack
- Trying to add admin file upload form plugin
- How to disable autocomplete for inputs in contact form 7? [closed]
- Why users disable the WordPress update?
- How many security plugins are too many? [closed]
- How to count number of records found in a database table?
- Will WordPress username displayed somewhere in the site?
- Upgrading WordPress 4.0 asks for FTP password
- Fatal error: Uncaught Error: Call to undefined function get_userdata()
- Is revealing just the AUTH_KEY a security issue?
- How Restrict access to admin dashboard by specific static ip?
- Advanced Custom Fields query
- WordPress Custom Application form
- Datepicker not supporting timepicker
- add function to saving change on Options Pages
- Protecting against malicious code in WordPress plugin updates
- Is there any good tutorial to write custom login, registration and password recovery forms? [closed]
- Questions about brute force attacks on the admin username, coming from amazon IP addresses
- Can I run multiple queries with $wpdb->prepare?
- Why Better WP security plugin returns 418 I’m a Teapot “error”?
- How to expire all wordpress user passwords instantly?
- WordPress plugin form not saving data
- Admin page: form with enctype=”multipart/form-data” does not transfer its data
- jQuery Plugin to use WordPress functions in AJAX request
- How to limit WordPress pages during updates?
- rms_unique_wp_mu_pl_fl_nm.php
- Weird problems after recovery from security breach
- How can we deal with unmaintained plugins with vulnerabilities?
- Security issues with WP sites
- How use %like% in sql statement wordpress
- Security checking in meta_box save is reluctant?
- Escape when echoed
- Should you escape hardcoded URLs?
- Preventing BFA in WordPress without using a plugin
- medoo framework in WP plugin
- WordPress logo upload option in theme panel
- Accessing GET variable named ‘error’
- WP_Query ordering numbers as letters
- FacetWP group listings by custom field [closed]
- Add form fields dynamically on button click
- How to trigger $_GET request within admin plugin page?
- How can i list random post from multiple category?
- how do i remove posts from a WP_Query so the pagination is right?
- Retrieving a Value from a wp-database
- How can I make uploaded images in the editor load with HTTPS?
- Custom CSS for plugin form
- Form doesn’t submit on second submit call
- WP plugins for building a database?
- How to stop xmlrpc attacks without disabling component to allow JetPack to work in WordPress?
- Accessing post’s meta data based on user’s click of a post
- How To Clean The Malware Infected & Hacked WordPress Websites? [duplicate]