updated plugin Event Bridge for ActivityPub version 1.3.0

This commit is contained in:
2026-06-03 21:28:57 +00:00
committed by Gitium
parent 1f3438440f
commit f2d6714572
84 changed files with 1721 additions and 1361 deletions

View File

@ -10,7 +10,7 @@
namespace Event_Bridge_For_ActivityPub;
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit; // @codeCoverageIgnore
\defined( 'ABSPATH' ) || exit; // @codeCoverageIgnore
/**
* Class for initializing the custom ActivityPub preview(s).
@ -31,7 +31,7 @@ class Preview {
public static function maybe_apply_event_preview_template() {
$event_post_types = Setup::get_instance()->get_active_event_plugins_post_types();
if ( in_array( \get_post_type(), $event_post_types, true ) ) {
if ( \in_array( \get_post_type(), $event_post_types, true ) ) {
return EVENT_BRIDGE_FOR_ACTIVITYPUB_PLUGIN_DIR . '/templates/event-preview.php';
}