芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/popup-maker/classes/Newsletter/Providers.php
providers[ $provider->id ] = $provider; } /** * @return array PUM_Shortcode */ public function get_providers() { return $this->providers; } public static function selectlist() { $selectlist = []; foreach ( self::instance()->get_providers() as $id => $provider ) { $selectlist[ $provider->name ] = $id; } return $selectlist; } /** * @return array */ public static function dropdown_list() { $providers = self::instance()->get_providers(); $list = []; foreach ( $providers as $id => $provider ) { $list[ $id ] = $provider->name; } return $list; } }