Skip to content

micropub_suggest_title

github-actions[bot] edited this page Jan 10, 2026 · 2 revisions

Filters the suggested title for a Micropub post.

Auto-generated Example

/**
 * Filters the suggested title for a Micropub post.
 *
 * @param string $title 
 * @param array  $properties 
 * @return string The filtered value.
 */
function my_micropub_suggest_title_callback( string $title, array $properties ) {
    // Your code here.
    return $title;
}
add_filter( 'micropub_suggest_title', 'my_micropub_suggest_title_callback', 10, 2 );

Parameters

  • string $title The suggested title.
  • array $properties The MF2 properties.

Files

\apply_filters( 'micropub_suggest_title', '', $props )

← All Hooks

Clone this wiki locally