ruạṛ
<?php /** * Fired during plugin activation * * @link amazon.com * @since 1.0.0 * * @package Amazonpolly * @subpackage Amazonpolly/includes */ /** * Fired during plugin activation. * * This class defines all code necessary to run during the plugin's activation. * * @since 1.0.0 * @package Amazonpolly * @subpackage Amazonpolly/includes * @author AWS Labs */ class Amazonpolly_Activator { /** * Initial configuration of the plugin. * * @since 1.0.0 */ public static function activate() { // Flush the permalinks to enable the "amazon-pollycast" route. $amazon_pollycast = new Amazonpolly_PollyCast(new AmazonAI_Common()); $amazon_pollycast->create_podcast(); flush_rewrite_rules(); } }
cải xoăn