Skip to content

Commit

Permalink
add phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle committed Sep 25, 2024
1 parent 7112948 commit 68236d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1216,6 +1216,11 @@ function generate_post_summary( $post, $length = 500 ) {
return $content;
}

/**
* Check if the immutable actor ID setting is enabled.
*
* @return bool true if the immutable actor ID setting is enabled, false otherwise.
*/
function use_immutable_actor_id() {
if ( \defined( 'ACTIVITYPUB_IMMUTABLE_ACTOR_ID' ) ) {
return ACTIVITYPUB_IMMUTABLE_ACTOR_ID;
Expand Down

0 comments on commit 68236d3

Please sign in to comment.