public function load() { add_action('podlove_module_was_activated_social', array($this, 'was_activated')); add_action('podlove_podcast_settings_tabs', array($this, 'podcast_settings_social_tab')); add_action('podlove_podcast_settings_tabs', array($this, 'podcast_settings_donation_tab')); add_action('update_option_podlove_podcast', array($this, 'save_social_setting'), 10, 2); add_action('update_option_podlove_podcast', array($this, 'save_donation_setting'), 10, 2); add_action('podlove_update_entity_contributor', array($this, 'save_contributor'), 10, 2); add_action('podlove_create_entity_contributor', array($this, 'save_contributor'), 10, 2); add_filter('podlove_contributor_settings_sections', array($this, 'register_contributor_sections'), 10, 2); add_action('admin_print_styles', array($this, 'admin_print_styles')); add_filter("podlove_contributor_list_table_columns", array($this, 'add_new_contributor_column')); add_action('wp_ajax_podlove-services-delete-contributor-services', array($this, 'delete_contributor_services')); add_action('wp_ajax_podlove-services-delete-podcast-services', array($this, 'delete_podcast_services')); add_action('podlove_xml_export', array($this, 'expandExportFile')); add_action('podlove_xml_import', array($this, 'expandImport')); add_filter('podlove_twig_file_loader', function ($file_loader) { $file_loader->addPath(implode(DIRECTORY_SEPARATOR, array(\Podlove\PLUGIN_DIR, 'lib', 'modules', 'social', 'templates')), 'social'); return $file_loader; }); \Podlove\Modules\Contributors\Template\Contributor::add_accessor('services', array('\\Podlove\\Modules\\Social\\TemplateExtensions', 'accessorContributorServices'), 5); \Podlove\Template\Podcast::add_accessor('services', array('\\Podlove\\Modules\\Social\\TemplateExtensions', 'accessorPodcastServices'), 4); add_filter('podlove_cache_tainting_classes', array($this, 'cache_tainting_classes')); RepairSocial::init(); AppDotNet::init(); Shortcodes::init(); }