'active', ) ); $active_event_plugins = Setup::get_instance()->get_active_event_plugins(); $event_bridge_for_activitypub_status_ok = true; $example_event_post = Health_Check::get_most_recent_event_posts(); $active_event_plugins = Setup::get_instance()->get_active_event_plugins(); $event_bridge_for_activitypub_status_ok = true; $example_event_post = Health_Check::get_most_recent_event_posts(); if ( empty( $example_event_post ) ) { $example_event_post = 'https://yoursite.com/events/event-name'; $example_event_post_is_dummy = true; } else { $example_event_post = \get_permalink( $example_event_post[0] ); $example_event_post_is_dummy = false; } global $wp_filesystem; WP_Filesystem(); ?>

⚠' . \wp_kses( $notice, General_Admin_Notices::ALLOWED_HTML ) . '

'; } ?>

⚠' . \wp_kses( $notice, General_Admin_Notices::ALLOWED_HTML ) . '

'; } ?>

get_plugin_name() ); ?>:

  • %2$s is enabled in the %1$s settings.', 'admin notice', 'event-bridge-for-activitypub' ), esc_html( get_plugin_data( ACTIVITYPUB_PLUGIN_FILE )['Name'] ), esc_html( $active_event_plugin->get_plugin_name() ), admin_url( 'options-general.php?page=activitypub&tab=settings' ) ); } else { $event_bridge_for_activitypub_status_ok = false; echo '❌ '; $status_message_post_type_enabled = sprintf( /* translators: 1: the name of the event plugin a admin notice is shown. 2: The name of the ActivityPub plugin. */ _x( 'The post type for events of the plugin %2$s is not enabled in the %1$s settings.', 'admin notice', 'event-bridge-for-activitypub' ), esc_html( get_plugin_data( ACTIVITYPUB_PLUGIN_FILE )['Name'] ), esc_html( $active_event_plugin->get_plugin_name() ), admin_url( 'options-general.php?page=activitypub&tab=settings' ) ); } $allowed_html = array( 'a' => array( 'href' => true, 'title' => true, ), 'b' => array(), 'i' => array(), ); echo \wp_kses( $status_message_post_type_enabled, $allowed_html ); ?>

' . \esc_html__( 'Please fix the status issues above first.', 'event-bridge-for-activitypub' ) . '

'; } ?>

Logo NLnet: abstract logo of four people seen from above Logo NGI Zero: letterlogo shaped like a tag

The development of this plugin was funded through the NGI0 Entrust Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101069594.