HEX
Server: LiteSpeed
System: Linux server214.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: bigisxfd (746)
PHP: 8.4.15
Disabled: NONE
Upload Files
File: /home/bigisxfd/public_html/old/wp-content/plugins/wp-maintenance-mode/includes/functions/hooks.php
<?php

/**
 * Helpers
 */

defined( 'ABSPATH' ) || exit;

/**
 * Add extra plugin headers (used by get_file_data function)
 *
 * @since 2.2.1
 * @param array $headers
 * @return array
 */
function wpmm_add_extra_plugin_headers( $headers ) {
	$headers[] = 'GitHub Plugin URI';
	$headers[] = 'Twitter';

	return $headers;
}

/**
 * Change email content type
 *
 * @since 2.2.1
 * @param string $content_type
 * @return string
 */
function wpmm_change_mail_content_type( $content_type ) {
	return 'text/html';
}

add_action( 'wp_ajax_wp_ajax_install_plugin', 'wp_ajax_install_plugin' );