-
-
Notifications
You must be signed in to change notification settings - Fork 270
Description
Describe the bug
pods_api_pre_save_pod_item
is not triggered when saving a Pod item in the WP admin. Instead, the filter is called when I save a regular post/page type. I used the more specific pods_api_pre_save_pod_item_{pod}
which doesn't work either. There seem to be some issue reports about this over the years, but apparently it hasn't been fixed, therefore my new report.
To Reproduce
I. Create Pod.
II. Add filter to your functions.php
or plugin file.
III. Filter function will never be triggered.
Expected behavior
Have the filter work.
Pods Version
2.7.9
WordPress Environment
PHP Version: 7.2.12-1+ubuntu16.04.1+deb.sury.org+1
MySQL Version: 5.7.24
Server Software: Apache/2.4.37 (Ubuntu)
Your User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0
Session Save Path: /var/lib/php/sessions
Session Save Path Exists: Yes
Session Save Path Writeable: Yes
Session Max Lifetime: 1440
Opcode Cache:
Apc: No
Memcached: No
OPcache: Yes
Redis: No
Object Cache:
APC: No
APCu: No
Memcache: No
Memcached: No
Redis: No
WPDB Prefix: nx24_2_
WP Multisite Mode: Yes
WP Memory Limit: 64M
Pods Network-Wide Activated: Yes
Pods Install Location: /media/Entwicklung/Entwicklung.xxx/www/v2/wp-content/plugins/pods/
Pods Tableless Mode Activated: No
Pods Light Mode Activated: No
Currently Active Theme: xxx Interface Theme
Currently Active Plugins:
xxx Interface: 1.0.1
Panda Pods Repeater Field: 1.3.1
Pods - Custom Content Types and Fields: 2.7.9
</details>
## Pods Package Export (helpful!)
<!-- Please include the Pods Package Export as it will be helpful in reproducing your issues. -->
<!-- To access: Pods Admin, Components, Migrate: Packages, Enable. -->
<!-- Then Pods Admin, Migrate: Packages, Export and Copy and Paste the JSON here OR -->
<!-- Save to a text file and upload to this bug report -->
Copy and Paste the JSON Export from Pods Admin, Migrate: Packages, Export in WordPress admin here