Changeset 3027524
- Timestamp:
- 01/26/2024 10:41:37 PM (2 years ago)
- Location:
- german-posting-filter/trunk
- Files:
-
- 2 edited
-
README.txt (modified) (1 diff)
-
german-posting-filter.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
german-posting-filter/trunk/README.txt
r3027522 r3027524 6 6 Requires at least: 6.0 7 7 Tested up to: 6.4 8 Stable tag: 2.9. 28 Stable tag: 2.9.4 9 9 Requires PHP: 7.0 10 10 License: GPL-2.0+ -
german-posting-filter/trunk/german-posting-filter.php
r3027522 r3027524 3 3 Plugin Name: German Posting Filter 4 4 Description: Fügt ein German Posting Feature hinzu. 5 Version: 2.9. 25 Version: 2.9.4 6 6 Author: Dr. Dominic Lindner 7 7 License: GPL-2.0+ … … 139 139 } 140 140 141 function GPF_save_german_posting_data($post_id) { 142 if (isset($_POST['german_post'])) { 143 update_post_meta($post_id, '_german_post', 1); 144 } else { 145 delete_post_meta($post_id, '_german_post'); 146 } 147 } 148 add_action('save_post', 'GPF_save_german_posting_data'); 149 141 150 function GPF_get_country_from_ip($ip) { 142 151 global $country_code;
Note: See TracChangeset
for help on using the changeset viewer.