in includes/class-amazonpolly.php [204:277]
private function define_admin_hooks() {
$background_task = new AmazonAI_BackgroundTask();
$cloudformation_service = new AmazonAI_Cloudformation($this->common);
$general_configuration = new AmazonAI_GeneralConfiguration($this->common);
$polly_configuration = new AmazonAI_PollyConfiguration($this->common);
$translate_configuration = new AmazonAI_TranslateConfiguration($this->common);
$podcast_configuration = new AmazonAI_PodcastConfiguration($this->common);
$alexa_configuration = new AmazonAI_AlexaConfiguration($this->common);
$cloudfront_configuration = new AmazonAI_CloudFrontConfiguration($this->common, $cloudformation_service);
$polly_service = new AmazonAI_PollyService($this->common);
$translate_service = new AmazonAI_Translator($this->common);
$plugin_name = get_option('amazon_plugin_name');
$this->loader->add_filter( "plugin_action_links_$plugin_name", $this->common, 'add_settings_link');
$this->loader->add_action( sprintf('admin_post_%s', AmazonAI_BackgroundTask::ADMIN_POST_ACTION), $background_task, 'run');
$this->loader->add_action( 'admin_print_footer_scripts', $this->common, 'add_quicktags');
$this->loader->add_action( 'admin_enqueue_scripts', $this->common, 'enqueue_styles');
$this->loader->add_action( 'admin_enqueue_scripts', $this->common, 'enqueue_scripts');
$this->loader->add_action( 'admin_enqueue_scripts', $this->common, 'enqueue_custom_scripts');
$this->loader->add_action( 'add_meta_boxes', $this->common, 'field_checkbox');
$this->loader->add_action( 'save_post', $polly_service, 'save_post', 10, 3);
$this->loader->add_action( 'amazon_polly_background_task_generate_post_audio', $polly_service, 'generate_audio', 10, 3);
$this->loader->add_action( 'before_delete_post', $this->common, 'delete_post' );
$this->loader->add_action( 'wp_ajax_polly_transcribe', $polly_service, 'ajax_bulk_synthesize' );
$this->loader->add_action( 'wp_ajax_polly_translate', $translate_service, 'ajax_translate' );
$this->loader->add_action( 'admin_menu', $general_configuration, 'amazon_ai_add_menu' );
$this->loader->add_action( 'admin_init', $general_configuration, 'display_options' );
$this->loader->add_action( 'admin_menu', $polly_configuration, 'amazon_ai_add_menu' );
$this->loader->add_action( 'admin_menu', $polly_configuration, 'display_options' );
$this->loader->add_action( 'admin_menu', $translate_configuration, 'amazon_ai_add_menu' );
$this->loader->add_action( 'admin_menu', $translate_configuration, 'display_options' );
$this->loader->add_action( 'admin_menu', $podcast_configuration, 'amazon_ai_add_menu' );
$this->loader->add_action( 'admin_menu', $podcast_configuration, 'display_options' );
$this->loader->add_action( 'admin_menu', $alexa_configuration, 'amazon_ai_add_menu' );
$this->loader->add_action( 'admin_menu', $cloudfront_configuration, 'amazon_ai_add_menu');
$plugin = plugin_basename( plugin_dir_path( dirname( __FILE__)) . 'amazonpolly.php');
$this->loader->add_filter( 'wp_kses_allowed_html', $this->common, 'allowed_tags_kses');
$this->loader->add_filter( 'tiny_mce_before_init', $this->common, 'allowed_tags_tinymce');
$this->loader->add_filter( "pre_update_option_amazon_polly_secret_key_fake", $this->common, 'aws_configuration_update', 10, 2 );
$this->loader->add_action('wp_ajax_display_stack_details_creation', $cloudfront_configuration, 'display_stack_details_creation');
$this->loader->add_action('wp_ajax_begin_cloudformation', $cloudformation_service, 'begin_cloudformation');
$this->loader->add_action('wp_ajax_update_cloudformation', $cloudformation_service, 'update_cloudformation');
$this->loader->add_action('wp_ajax_check_acm_cert_creation', $cloudformation_service, 'check_acm_cert_creation');
$this->loader->add_action('wp_ajax_check_cf_creation', $cloudformation_service, 'check_cf_creation');
$this->loader->add_action('wp_ajax_create_cf_invalidation', $cloudformation_service, 'create_cf_invalidation');
$this->loader->add_action('wp_ajax_get_cf_invalidation', $cloudformation_service, 'get_cf_invalidation');
$this->loader->add_action('wp_ajax_update_installation_settings', $cloudformation_service, 'update_installation_settings');
$this->loader->add_action('wp_ajax_delete_cloudformation', $cloudformation_service, 'delete_cloudformation');
$this->loader->add_action('wp_ajax_get_stack_creation_status', $cloudformation_service, 'get_stack_creation_status');
$this->loader->add_action('wp_ajax_check_stack_deletion', $cloudformation_service, 'check_stack_deletion');
$this->loader->add_action('wp_ajax_get_dv_dns_info', $cloudformation_service, 'get_dv_dns_info');
$this->loader->add_action('wp_ajax_get_cdn_alias_dns_info', $cloudformation_service, 'get_cdn_alias_dns_info');
$this->loader->add_action('wp_ajax_validate_cdn_alias_mapping', $cloudformation_service, 'validate_cdn_alias_mapping');
$this->loader->add_action('wp_ajax_get_stack_state', $cloudformation_service, 'get_stack_state');
$this->loader->add_action('wp_ajax_complete_setup', $cloudformation_service, 'complete_setup');
}