HEX
Server: Apache/2.4.65 (Debian)
System: Linux web6 5.10.0-36-amd64 #1 SMP Debian 5.10.244-1 (2025-09-29) x86_64
User: innocamp (1028)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //home/cedarbrk/public_html/wp-content/plugins/bridge-core/modules/qode-seo.php
<?php

if(!function_exists('bridge_core_header_meta')) {
    /**
     * Function that echoes meta data if our seo is enabled
     */

    function bridge_core_header_meta() {
        global $bridge_qode_options;

        if(isset($bridge_qode_options['disable_qode_seo']) && $bridge_qode_options['disable_qode_seo'] == 'no') {

            $seo_description = get_post_meta(bridge_qode_get_page_id(), "qode_seo_description", true);
            $seo_keywords = get_post_meta(bridge_qode_get_page_id(), "qode_seo_keywords", true);
            ?>

            <?php if($seo_description) { ?>
                <meta name="description" content="<?php echo esc_attr( $seo_description ); ?>">
            <?php } else if($bridge_qode_options['meta_description']){ ?>
                <meta name="description" content="<?php echo esc_attr( $bridge_qode_options['meta_description'] ); ?>">
            <?php } ?>

            <?php if($seo_keywords) { ?>
                <meta name="keywords" content="<?php echo esc_attr( $seo_keywords ); ?>">
            <?php } else if($bridge_qode_options['meta_keywords']){ ?>
                <meta name="keywords" content="<?php echo esc_attr( $bridge_qode_options['meta_keywords'] ); ?>">
            <?php }
        }


		if ( ( ! function_exists( 'has_site_icon' ) || ! has_site_icon() ) && ! empty( $bridge_qode_options['favicon_image'] ) ) { ?>
            <link rel="shortcut icon" type="image/x-icon" href="<?php echo esc_url( $bridge_qode_options['favicon_image'] ); ?>">
            <link rel="apple-touch-icon" href="<?php echo esc_url( $bridge_qode_options['favicon_image'] ); ?>"/>
        <?php }

    }

    add_action('bridge_qode_action_header_meta', 'bridge_core_header_meta');
}

if(!function_exists('bridge_core_ajax_meta')) {
    /**
     * Function that echoes meta data for ajax
     *
     * @since 5.0
     * @version 0.2
     */
    function bridge_core_ajax_meta() {
        global $bridge_qode_options;

        ?>

        <div class="seo_title"><?php wp_title(''); ?></div>

        <?php

        if(isset($bridge_qode_options['disable_qode_seo']) && $bridge_qode_options['disable_qode_seo'] == 'no') {
            $seo_description = get_post_meta(bridge_qode_get_page_id(), "qode_seo_description", true);
            $seo_keywords = get_post_meta(bridge_qode_get_page_id(), "qode_seo_keywords", true);
            ?>



            <?php if ($seo_description !== '') { ?>
                <div class="seo_description"><?php echo esc_attr( $seo_description ); ?></div>
            <?php } else if ($bridge_qode_options['meta_description']) { ?>
                <div class="seo_description"><?php echo esc_attr( $bridge_qode_options['meta_description'] ); ?></div>
            <?php } ?>
            <?php if ($seo_keywords !== '') { ?>
                <div class="seo_keywords"><?php echo esc_attr( $seo_keywords ); ?></div>
            <?php } else if ($bridge_qode_options['meta_keywords']) { ?>
                <div class="seo_keywords"><?php echo esc_attr( $bridge_qode_options['meta_keywords'] ); ?></div>
            <?php }
        }
    }

    add_action('bridge_qode_action_ajax_meta', 'bridge_core_ajax_meta');
}