Uname: Linux premium72.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.2.29 [ PHP INFO ] PHP os: Linux
Server Ip: 198.54.125.95
Your Ip: 216.73.216.132
User: matican (532) | Group: matican (531)
Safe Mode: OFF
Disable Function:
NONE

name : notice.php
<?php
/**
 * Notice.
 *
 * This template can be overridden by copying it to yourtheme/job_manager/
 *
 * @see         https://wpjobmanager.com/document/template-overrides/
 * @author      Automattic
 * @package     wp-job-manager
 * @category    Template
 * @version     2.2.0
 *
 *
 * @var array  $options All arguments of the notice.
 * @var array  $classes Classes for the notice wrapper.
 * @var string $title Notice title.
 * @var string $icon_html Rendered icon HTML.
 * @var string $message Message text or HTML.
 * @var string $content_html Additional content HTML.
 * @var array  $actions_html Rendered HTML for buttons and links.
 *
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

$has_actions_footer = ! ! $actions_html;

if ( $has_actions_footer ) {
	$classes[] = 'has-actions';
}

if ( $title ) {
	$classes[] = 'has-header';
}

if ( in_array( 'message-icon', $classes, true ) ) {
	$message_icon_html = $icon_html;
	$icon_html         = '';
}

?>

<div class="jm-notice <?php echo esc_attr( implode( ' ', $classes ) ); ?>" role="status">
	<?php if ( $title ) : ?>
		<div class="jm-notice__header">
			<?php echo $icon_html; ?>
			<div class="jm-notice__title"><?php echo esc_html( $title ); ?></div>
		</div>
	<?php endif; ?>
	<?php if ( $message ) : ?>
		<div
			class="jm-notice__message-wrap">
			<?php if ( ! $title && $icon_html ) : ?>
				<?php echo $icon_html; ?>
			<?php endif; ?>
			<?php echo $message_icon_html ?? ''; ?>
			<div
				class="jm-notice__message <?php echo esc_attr( $content_html ? 'has-details' : '' ); ?> "><?php echo wp_kses_post( $message ); ?></div>
		</div>
	<?php endif; ?>
	<?php if ( $content_html ) : ?>
		<div class="jm-notice__details"><?php echo $content_html; ?></div>
	<?php endif; ?>
	<?php if ( $has_actions_footer ) : ?>
		<div class="jm-notice__footer">
			<?php echo $actions_html; ?>
		</div>
	<?php endif; ?>
</div>
© 2025 XylotrechusZ