HEX
Server: Apache
System: Linux webd001.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: mciraet (192513)
PHP: 8.2.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/mciraet/www/wp-content/plugins/js_composer/include/autoload/hooks/hook-vc-hide-title.php
<?php
/**
 * Autoload hooks plugin hide title functionality.
 *
 * @note we require our autoload files everytime and everywhere after plugin load.
 * @since 8.2
 */

if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}

add_filter( 'the_title', function ( $title, $post_id = null ) {
	if ( empty( $post_id ) ) {
		return $title;
	}

	if ( wpb_is_hide_title( $post_id ) ) {
		return '';
	}

	return $title;
}, 10, 2 );