/** * add YTH faqs table to export functions * * @author Andrea Grillo <*****@*****.**> * * @param array * @param $tables * * @return mixed array * @since 1.0.2 */ function yit_add_faqs_tables($tables) { $tables['plugins'][] = YIT_Faq()->term_meta_table_name; return $tables; }
* @author Emanuela Castorina <*****@*****.**> */ public function register_widget() { include( $this->plugin_path . '/yit-faq.widget.php' ); register_widget( 'YIT_Faq_Filters' ); } } /** * Main instance of plugin * * @return object * @since 1.0 * @author Emanuela Castorina <*****@*****.**> */ function YIT_Faq() { return YIT_Faq::instance(); } /** * Instantiate Faq class * * @since 1.0 * @author Emanuela Castorina <*****@*****.**> */ YIT_Faq();