This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Update Give Form Shortcodes in Post Content | |
| * | |
| * @uses JEDI Hook jedi_after_post_import | |
| * @param array $jedi_post_ids An array of imported Post IDs. | |
| **/ | |
| function update_giveform_shortcodes( $jedi_post_ids ) { | |
| foreach($jedi_post_ids as $jedi_post_id) { | |
| $give_post = get_post($jedi_post_id); |