File "contextual-info-script.php"
Full Path: /home/jlklyejr/public_html/post-date/wp-content/plugins/flexible-shipping/classes/views/contextual-info-script.php
File size: 976 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* Display contextual info script.
*
* @package Contextual Info.
*
* @var $html_elements_ids string
* @var $info_id string
* @var $phrases_in string[]
* @var $info_html string
* @var $phrases_not_in string[]
*/
?>
<script type="text/javascript">
jQuery( document ).ready(
function () {
jQuery( "<?php echo esc_attr( $html_elements_ids ); ?>" ).contextualInfo(
{
'id': '<?php echo esc_attr( $info_id ); ?>',
'phrases_in': <?php echo json_encode( $phrases_in ); // phpcs:ignore ?>,
'info_html': <?php echo json_encode( $info_html ); // phpcs:ignore ?>,
'phrases_not_in': <?php echo json_encode( $phrases_not_in ); // phpcs:ignore ?>,
'is_limited_width': <?php echo wpdesk_is_plugin_active( 'flexible-shipping-pro/flexible-shipping-pro.php' ) && wpdesk_is_plugin_active( 'flexible-shipping-import-export/flexible-shipping-import-export.php' ) ? 'false' : 'true'; ?>
}
);
}
);
</script>