| Server IP : 213.132.222.41 / Your IP : 216.73.216.254 Web Server : Apache System : Linux plesk4.nlhosting.net 6.1.0-0.deb11.50-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1~deb11u1 (2026-07-02) x86_64 User : thecovenant ( 10927) PHP Version : 8.3.32 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/thecovenant.nl/httpdocs/wp-content/themes/salient/nectar/helpers/ |
Upload File : |
<?php
/**
* Deprecated function names upgrade assist.
*
* Will prevent fatal errors from occurring if user
* updates and has outdated templates/function overrides
* which contain commonly used functions which have been renamed
* to have a unique prefix. These fallback helpers are
* slated to be removed on November 30th, 2019.
*
* @package Salient WordPress Theme
* @subpackage helpers
* @version 10.5
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Alias for nectar_using_page_header
*/
if( !function_exists('using_page_header') ) {
function using_page_header($post_id) {
return nectar_using_page_header($post_id);
}
}
/**
* Alias for nectar_grab_ids_from_gallery
*/
if( !function_exists('grab_ids_from_gallery') ) {
function grab_ids_from_gallery($post_id) {
return nectar_grab_ids_from_gallery($post_id);
}
}
/**
* Alias for nectar_current_page_url
*/
if( !function_exists('current_page_url') ) {
function current_page_url() {
return nectar_current_page_url();
}
}
/**
* Alias for nectar_shortcode_empty_paragraph_fix
*/
if( !function_exists('shortcode_empty_paragraph_fix') ) {
function shortcode_empty_paragraph_fix($content) {
return nectar_shortcode_empty_paragraph_fix($content);
}
}
/**
* Portfolio
*
* Alias for nectar_project_single_controls
* Alias for nectar_get_page_by_title_search
*/
if( !function_exists('project_single_controls') && function_exists('nectar_project_single_controls') ) {
function project_single_controls() {
return nectar_project_single_controls();
}
}
if( !function_exists('get_page_by_title_search') && function_exists('nectar_get_page_by_title_search') ) {
function get_page_by_title_search() {
return nectar_get_page_by_title_search();
}
}
/**
* WooCommerce
*
* Alias for nectar_product_thumbnail_with_cart
* Alias for nectar_product_thumbnail_with_cart_alt
* Alias for nectar_product_thumbnail_material
* Alias for nectar_product_thumbnail_minimal
*/
if( !function_exists('product_thumbnail_with_cart') ) {
function product_thumbnail_with_cart() {
return nectar_product_thumbnail_with_cart();
}
}
if( !function_exists('product_thumbnail_with_cart_alt') ) {
function product_thumbnail_with_cart_alt() {
return nectar_product_thumbnail_with_cart_alt();
}
}
if( !function_exists('product_thumbnail_material') ) {
function product_thumbnail_material() {
return nectar_product_thumbnail_material();
}
}
if( !function_exists('product_thumbnail_minimal') ) {
function product_thumbnail_minimal() {
return nectar_product_thumbnail_minimal();
}
}