To complete this … I initially used PHP code snippets (Insert PHP) plugin (version 2.0.6 – latest). The php page was in fact only called once, but executed twice. I didn’t have any explanation for all this described above (same temp filename, but code called twice, …).
After I changed the PHP code WordPress integration method into the Shortcode concept, all worked fine (till now). So I believe that this mentioned plugin was the reason for the double triggers?!
And no double clicks – I checked that already right from the beginning. So probably the PHP code itself was not the culprit.
Related Posts:
- Fatal error: Call to undefined function mysql_connect()
- How to Add Image to WordPress RSS-Feed with no Plug-in?
- Childs PHP files not overwriting Parent’s PHP files
- How to check if feed URL was requested?
- How to add active class to custom menu using while loop and wp_list_pages
- How can I run a .php file located in my site’s root folder?
- How to return a string that has a variable inside in a shortcode?
- Cleanest/Fastest way to avoid calling and retrieving data from the database multiple times?
- Saving metabox repeatable fields
- Targeting single page with JS
- Get list of WP Updates Across Sites
- Remove General Tab and Plugin Tab in Settings in Woocommerce
- WooCommerce – Display variation custom field value [closed]
- Woocommerce HTML email option unavailable
- Use template for posts with a particular category grandparent
- How to start a script from cli within wordpress
- How to group 2 radio buttons in a widget?
- Featured image fallback link to permalink
- Facebook “like” open graph meta in header.php
- What’s the best user registration library to integrate WordPress?
- Missing sidebar parameter “fix” – before_content
- Automatically add custom CSS to new posts using a category template
- Page Automatically Generated from Theme?
- How can I reuse the code to capture a param in a URL and place in a value in a hidden form?
- Adding Custom Slider
- Displaying custom taxonomy on WooCommerce product page
- Don’t insert if permalink is the same?
- PHP errors in class-wp-query
- Store a default value for a transient on plugin activation
- Change “add to cart” button color based on Woocommerce product category [closed]
- Custom posts in different columns style
- Insert custom PHP head above in WP pages
- Can we count the WordPress Loop
- Display most popular posts of category
- Is there a way to hook or call a custom woocomerce template that is not part of the default templates of woocommerce?
- Warning message (re. php) on the blog page
- Fixing Memory Leaks in WordPress (HHVM)
- Get html data with javascript to php array and store to wordpress database
- How to use array in function to get only value I want
- Apply class to every third list item? [duplicate]
- How to include custom code on a page that’s set to act as homepage?
- How to remove sidebar primary widget on Mobile on category page [closed]
- How to upload WP user avatar on woocommerce account page [closed]
- Fixing Deprecated: get_the_author_lastname
- add_filter function concatenate string and locate_template function
- HTTP ERROR 500 after installing child-theme [WordPress] [closed]
- Custom Registration username_exists / email_exists
- WordPress language switcher doesn’t work
- Custom posts password protect
- How to pick “full/thumbnail” images in the loop?
- Search.php gets metadata from first post
- Using Ajax to submit a form, and run a SQL Select query based on user input from the form
- WordPress Multisite login_redirect to primary blog and specific page based on role
- Pagination at category doesnt work with same name of page
- How to remove the two duplicate values
- AJAX function running TWICE with WordPress admin-ajax.php
- OOP PHP class extends TwentyTwenty_Customize in Child Theme
- Date translation doesn’t work
- Is it secure to use SMTP password in .php file in WordPress website?
- Woocommerce – Exclude variation attribute on specific variation
- Sort new column in Users wp-admin
- call to undefined function mysql_connect
- Can’t pass var from php wp_ajax into ajax script : result undefined or null
- Custom PHP form needs refresh to load page correctly
- Child-Theme Category View with modified permalinks (%category% removed)
- Log out without confirmation request (nonce)
- Show data obtained from a function and place it in a shortocode function
- wp_signon works local, not on https
- Get WordPress username to customize url
- Delete empty title_tags, find a h1 heading and echo it
- Get posts from year from URL
- HELP: cannot log into wordpress. PHP error
- WP_Query To Display Product Of Brand On Taxonomy Page
- How to have more than one ID included in the exclude command?
- Search for images that width and height is more than 500
- How do I get object if class is instantiated only like this new classname()
- How to create a php page to collect information from a html page
- Default Image not showing up in Customizer for WP_Customize_Cropped_Image_Control
- I need help implement a Javascript code into the PHP file
- Passing different content to template parts
- My customizer’s setting doesn’t set to the default and needed to click the control’s “Default” button before it’ll be set
- Run insert if no entry otherwise run update with ajax
- Hide cart when empty [closed]
- Overwriting a Shortcode
- Post Title Not showing up
- MySQL database migration to WordPress
- if is_home(), change class of menu-item-225 of wp_nav_menu
- WordPress most commented posts of last X days
- How to check if a value exists in one of two database tables
- Is this WordPress code causing page weirdness? Can’t scroll to bottom
- Search result page – display values from the result’s metaboxes
- How to use multiple 404 Error Pages in WordPress
- Parse error: syntax error, unexpected ‘}’ in
- WordPress add parameters with friendly url structure
- Different behaviour between “include_once” and directly echoing out html code?
- Understanding responsive imagery
- How to get meta box labels?
- get_query_vars always retruns empty value
- How to group by column a and sum column b and c in a php array
- Convert custom field date format to “WordPress default”