403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.133.147.193
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-unwind/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/misswavenigeria.com/wp-content/themes/siteorigin-unwind/inc//deprecated.php
<?php
/**
 * Deprecated functions.
 *
 * @since siteorigin-unwind 1.2.7
 *
 * @license GPL 2.0
 */
if ( ! function_exists( 'siteorigin_unwind_excerpt_length' ) ) {
	/**
	 * Filter the excerpt length.
	 *
	 * @deprecated 1.2.7 Use siteorigin_unwind_excerpt()
	 */
	function siteorigin_unwind_excerpt_length( $length ) {
		return siteorigin_setting( 'blog_excerpt_length' );
	}
	add_filter( 'excerpt_length', 'siteorigin_unwind_excerpt_length', 10 );
}

if ( ! function_exists( 'siteorigin_unwind_excerpt_more' ) ) {
	/**
	 * Add a more link to the excerpt.
	 *
	 * @deprecated 1.2.7 Use siteorigin_unwind_excerpt()
	 */
	function siteorigin_unwind_excerpt_more( $more ) {
		if ( is_search() ) {
			return;
		}

		if (
			(
				siteorigin_setting( 'blog_archive_content' ) == 'excerpt' ||
				siteorigin_setting( 'blog_archive_layout' ) == 'grid' ||
				siteorigin_setting( 'blog_archive_layout' ) == 'alternate'
			) &&
				siteorigin_setting( 'blog_excerpt_more', true )
		) {
			$read_more_text = esc_html__( 'Continue reading', 'siteorigin-unwind' );

			return '...<div class="more-link-wrapper"><a class="more-link" href="' . esc_url( get_permalink() ) . '"><span class="more-text">' . $read_more_text . '</span></a></div>';
		}
	}
}
add_filter( 'excerpt_more', 'siteorigin_unwind_excerpt_more' );

Youez - 2016 - github.com/yon3zu
LinuXploit