HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
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: /var/www/html/wpsysiot/wp-content/plugins/pro-elements/core/isolation/wordpress-adapter.php
<?php

namespace ElementorPro\Core\Isolation;

class Wordpress_Adapter implements Wordpress_Adapter_Interface {

	public function has_post_thumbnail(): bool {
		return has_post_thumbnail();
	}

	public function get_comments_number() {
		return get_comments_number();
	}

	public function is_author( $author = '' ): bool {
		return is_author( $author );
	}

	public function wp_get_attachment_caption( $attachment_id ): string {
		return wp_get_attachment_caption( $attachment_id );
	}

	public function get_the_title( $post_id ): string {
		return get_the_title( $post_id );
	}

	public function current_user_can( $capability, ...$args ): bool {
		return current_user_can( $capability, ...$args );
	}
}