HEX
Server: Apache/2.4.25 (Debian)
System: Linux server17 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User: web37 (1062)
PHP: 7.4.30
Disabled: show_source, highlight_file, apache_child_terminate, apache_get_modules, apache_note, apache_setenv, virtual, dl, disk_total_space, posix_getpwnam, posix_getpwuid, posix_mkfifo, posix_mknod, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_nice, openlog, syslog, pfsockopen
Upload Files
File: /var/www/web37/htdocs/telefonsex-info/wp-content/themes/point/inc/welcome-message.php
<?php
/**
 * Enqueue WP Pointer.
 */
function mts_point_pointer_header() {
	$dismissed = explode( ',', (string) get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) );

	if ( ! in_array( 'mts_point_pointer', $dismissed, true ) ) { // mts_point_pointer.
		add_action( 'admin_print_footer_scripts', 'mts_point_pointer_footer' );

		wp_enqueue_script( 'wp-pointer' );
		wp_enqueue_style( 'wp-pointer' );
	}
}
add_action( 'admin_enqueue_scripts', 'mts_point_pointer_header' );

/**
 * Display WP Pointer configuration.
 */
function mts_point_pointer_footer() {
	$pointer_content  = '<h3>' . __('Awesomeness!', 'point' ) . '</h3>';
	$pointer_content .= '<p>' . __('You have just Installed Point WordPress Theme by MyThemeShop.', 'point' ) . '</p>';
	$pointer_content .= '<p>' . wp_kses( __('You can Trigger The Awesomeness by clicking Amazing <strong>Customize</strong> link.', 'point' ), array( 'strong' => '' ) ) . '</p>';
	$pointer_content .= '<p>' . __('If you face any problem, head over to', 'point' ) . ' <a href="https://community.mythemeshop.com/">' . __('Support Forums', 'point' ) . '</a></p>';
?>
<script type="text/javascript">// <![CDATA[
jQuery(document).ready(function($) {
	$('.menu-icon-appearance ul li:nth-child(3)').pointer({
		content: '<?php echo wp_kses_post( $pointer_content ); ?>',
		position: {
			edge: 'left',
			align: 'center'
		},
		close: function() {
			$.post( ajaxurl, {
				pointer: 'mts_point_pointer', // mts_point_pointer
				action: 'dismiss-wp-pointer'
			});
		}
	}).pointer('open');
});
// ]]></script>
<?php
}

?>