HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
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: //proc/self/root/var/www/lipovac/wp-content/plugins/the-events-calendar/src/views/v2/not-found.php
<div class="tribe-view tribe-view--not-found-slug tribe-view--<?php echo esc_attr( $requested_view ) ?>">
	<p>There is no view registered for the <code><?php echo esc_html( $requested_view ) ?></code> slug.</p>
	<p>Make sure to register a view for the <code><?php echo esc_html( $requested_view ) ?></code> in the
		<code>tribe_events_views</code> filter, you can use code like this one in your plugin or theme <code>functions.php</code>
		file:</p>
	<pre>
		<code>
			&lt;&quest;php
			function my_plugin_add_custom_views( array $views ){
				$views['<?php echo esc_html( $requested_view ) ?>'] => My_Custom_View::class;

				return $views;
			}

			add_filter( 'tribe_events_views', 'my_plugin_add_custom_views' );
		</code>
	</pre>
</div>