Skip to content

Commit 752897e

Browse files
authored
Syndicate after micropub (#180)
1 parent b273439 commit 752897e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

includes/class-micropub-endpoint.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,12 @@ public static function post_handler( $request ) {
296296
if ( is_micropub_error( $args ) ) {
297297
return $args;
298298
}
299+
do_action( 'after_micropub', static::$input, $args );
300+
299301
if ( ! empty( $synd_requested ) ) {
300302
do_action( 'micropub_syndication', $args['ID'], $synd_requested );
301303
}
302-
do_action( 'after_micropub', static::$input, $args );
304+
303305
$response->set_data( $args );
304306
return $response;
305307
}

0 commit comments

Comments
 (0)