HEX
Server: Apache
System: Linux p3plzcpnl466169.prod.phx3.secureserver.net 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: wynnelaw5142 (399059)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: /home/wynnelaw5142/public_html/wp-content/plugins/quick-setup/modules/disable-comments.php
<?php

/**
 * Copyright 2013 Go Daddy Operating Company, LLC. All Rights Reserved.
 */

// Make sure it's wordpress
if ( !defined( 'ABSPATH' ) )
	die( 'Forbidden' );

add_action( 'gd_quicksetup_installed_plugin-disable-comments', 'gd_quicksetup_setup_disable_comments' );

/**
 * Set up the disable-comments plugin
 * Don't allow comments on pages
 */
function gd_quicksetup_setup_disable_comments() {
	
	// Set up initial options
	$plugin = new Disable_Comments();
	
	// Disable comments on pages
	$option = get_option( 'disable_comments_options' );
	$option['disabled_post_types'] = array( 'page' );
	update_option( 'disable_comments_options', $option );
}