コード例 #1
0
 public function site_options()
 {
     return array_merge(['enabled_plugins' => []], parent::site_options());
 }
コード例 #2
0
 public function site_options()
 {
     return array_merge(['blogs_to_hide' => 5, 'blogs_hide_overview' => 5, 'canonical_url' => true, 'clear_post' => true, 'custom_field_blacklist' => '', 'custom_field_protectlist' => '', 'custom_field_whitelist' => '', 'database_version' => 0, 'debug' => false, 'debug_ips' => '', 'debug_to_browser' => false, 'debug_to_file' => false, 'save_post_decoys' => 1, 'save_post_priority' => 640, 'override_child_permalinks' => false, 'post_types' => 'post page', 'existing_attachments' => 'use', 'role_broadcast' => ['super_admin'], 'role_link' => ['super_admin'], 'role_broadcast_as_draft' => ['super_admin'], 'role_broadcast_scheduled_posts' => ['super_admin'], 'role_taxonomies' => ['super_admin'], 'role_custom_fields' => ['super_admin'], 'savings_calculator_data' => ''], parent::site_options());
 }
コード例 #3
0
ファイル: mail.php プロジェクト: Garth619/wines-by-jennifer
 /**
 		@brief		Add an attachment to the mail.
 		@param		string		$path		The path to the file to attach.
 		@param		string		$name		Optional name of the file, as visible in the mail.
 		@return		mail					This object.
 		@since		20130423
 	**/
 public function attachment($path, $name = '')
 {
     $mime_type = \plainview\sdk_broadcast\wordpress\base::mime_type($path);
     $this->AddAttachment($path, $name, 'base64', $mime_type);
     return $this;
 }
コード例 #4
0
 /**
 		@brief		Return an array of our site options.
 		@since		2014-09-27 16:35:34
 	**/
 public function site_options()
 {
     return array_merge(['edd_updater_license_key' => ''], parent::site_options());
 }