Changeset 2542231
- Timestamp:
- 06/03/2021 08:12:33 PM (5 years ago)
- Location:
- social-media-publish/trunk
- Files:
-
- 2 edited
-
README.txt (modified) (3 diffs)
-
admin/post-hook.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
social-media-publish/trunk/README.txt
r2542221 r2542231 1 1 === Social Media Publish === 2 2 Contributors: bogi1991 3 Donate link: https:// devcraft.de3 Donate link: https://www.paypal.com/donate?hosted_button_id=X2L4JMQ5C9DYN 4 4 Tags: social media, publish, automation, auto post, auto publish, facebook, instagram 5 5 Requires at least: 3.0.1 … … 17 17 We are using the open [Facebook API Graph](https://developers.facebook.com/docs) to communicate with Social Media plattforms. 18 18 19 Publish automatically posts to instagram. 19 A quick look into Social Media Publish : 20 21 ★ Auto Publish to Instagram 22 ★ Reupload your post manually 23 20 24 21 25 == Changelog == … … 25 29 * Reupload Instagram post in MetaBox 26 30 31 = Feedback = 27 32 33 We would like to receive your feedback and suggestions about Social Media Publish plugin. 34 You may submit them to [EMail]("[email protected]). -
social-media-publish/trunk/admin/post-hook.php
r2542221 r2542231 12 12 $featured_image_url = wp_get_attachment_image_url( $post_thumbnail_id, 'original' ); 13 13 14 $postMeta = get_post_meta( $post_id, 'smp-ig-published', true ); 14 // Get instagram published date 15 $instagramPublishedPostMeta = get_post_meta( $post_id, 'smp-ig-published', true ); 15 16 16 17 // Featured image exist and instagram auto publish is enabled … … 18 19 if( $featured_image_url && 19 20 esc_attr( get_option('smp_instagram_auto_publish')) && 20 empty( $ postMeta )21 empty( $instagramPublishedPostMeta ) 21 22 ) { 22 23 // Set Instagram published flag
Note: See TracChangeset
for help on using the changeset viewer.