get_error_message() ), 404 ); } if ( $transformer instanceof Event ) { $object = $transformer->to_object(); $user = $transformer->get_actor_object(); $address = $transformer->get_formatted_address(); $location = $transformer->get_location(); if ( $location ) { $location_name = $location->get_name(); } else { $location_name = ''; } } else { \wp_die( 'Wrong ActivityPub preview template.', 404 ); } $first_image_attachment = null; ?> <?php echo \esc_html( $object->get_name() ); ?>HUU

<?php echo \esc_attr( isset( $first_image_attachment['name'] ) ? $first_image_attachment['name'] : '' ); ?>

get_name() ); ?>

get_tag() as $hashtag ) : ?>

get_content(), ACTIVITYPUB_MASTODON_HTML_SANITIZER ); ?>