403Webshell
Server IP : 149.28.60.191  /  Your IP : 216.73.217.128
Web Server : nginx/1.31.1
System : Linux vultr.guest 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : mda ( )
PHP Version : 7.4.33
Disable Function : getmyuid,passthru,leak,listen,diskfreespace,tmpfile,link,shell_exec,dl,exec,system,highlight_file,source,show_source,fpassthru,virtual,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,proc_open,proc_close,proc_nice,proc_terminate,escapeshellcmd,ini_alter,popen,pcntl_exec,socket_accept,socket_bind,socket_clear_error,socket_close,socket_connect,symlink,posix_geteuid,ini_alter,socket_listen,socket_create_listen,socket_read,socket_create_pair,stream_socket_server
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mda/webapps/mda-restore/wp-content/themes/Avada/includes/typography/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mda/webapps/mda-restore/wp-content/themes/Avada/includes/typography/bbpress_typography.php
<?php
/**
 * This file contains typography styles for bbPress plugin.
 *
 * @author     ThemeFusion
 * @copyright  (c) Copyright by ThemeFusion
 * @link       https://theme-fusion.com
 * @package    Avada
 * @subpackage Core
 * @since      5.0.0
 */

// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
	exit( 'Direct script access denied.' );
}

/**
 * The bbPress css classes that inherit Avada's H2 typography settings.
 *
 * @param array $typography_elements An array of all typography elements.
 * @return array
 */
function avada_bbpress_h2_typography( $typography_elements ) {
	if ( class_exists( 'bbPress' ) ) {
		$typography_elements['size'][]   = '#bbpress-forums #bbp-user-wrapper h2.entry-title';
		$typography_elements['color'][]  = '#bbpress-forums #bbp-user-wrapper h2.entry-title';
		$typography_elements['family'][] = '#bbpress-forums #bbp-user-wrapper h2.entry-title';
	}

	return $typography_elements;
}
add_filter( 'avada_h2_typography_elements', 'avada_bbpress_h2_typography' );

/**
 * The bbPress css classes that inherit Avada's body typography settings.
 *
 * @param array $typography_elements An array of all typography elements.
 * @return array
 */
function avada_bbpress_body_typography( $typography_elements ) {
	if ( class_exists( 'bbPress' ) ) {
		$typography_elements['family'][] = '#bbp_user_edit_submit';
	}

	return $typography_elements;
}
add_filter( 'avada_body_typography_elements', 'avada_bbpress_body_typography' );

/**
 * The bbPress css classes that inherit Avada's button typography settings.
 *
 * @param array $typography_elements An array of all typography elements.
 * @return array
 */
function avada_bbpress_button_typography( $typography_elements ) {
	if ( class_exists( 'bbPress' ) ) {
		$typography_elements['family'][] = '.bbp-submit-wrapper .button';
		$typography_elements['family'][] = '#bbp_user_edit_submit';
	}

	return $typography_elements;
}
add_filter( 'avada_button_typography_elements', 'avada_bbpress_button_typography' );

/* Omit closing PHP tag to avoid "Headers already sent" issues. */

Youez - 2016 - github.com/yon3zu
LinuXploit