Add helper function to get the plugin setting

This commit is contained in:
Robin Cornett
2016-02-23 08:03:13 -05:00
parent c67b24b735
commit be876f703e
5 changed files with 8 additions and 7 deletions
@@ -110,6 +110,7 @@ class Display_Featured_Image_Genesis {
add_action( 'template_redirect', array( $this->rss, 'maybe_do_feed' ) );
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
add_filter( 'plugin_action_links_' . DISPLAYFEATUREDIMAGEGENESIS_BASENAME, array( $this, 'add_settings_link' ) );
add_filter( 'displayfeaturedimagegenesis_get_setting', array( $this->settings, 'get_display_setting' ) );
}