Code to add custom post types to plugin
-
Please update includes/class-easy-social-share-buttons.php
public function add_share_buttons_to_post ( $content ) { $post_types = apply_filters( 'update_easy_social_share_post_types', array('post') ); if ( !is_singular( $post_types ) ) { return $content; } ...
This will allow adding a filter to add custom post types to easy social share. Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Code to add custom post types to plugin’ is closed to new replies.