Use the right function

This commit is contained in:
Jeremy Dormitzer 2018-10-26 06:49:40 -04:00
parent aa53db8849
commit eb7a8b312b

View File

@ -16,7 +16,7 @@ add_action( 'rest_api_init', function() {
add_action( 'user_register', function( $user_id ) {
$slug = get_the_author_meta( 'user_nicename', $user_id );
\pterotype\actors\create_actor_user( $slug, 'user' );
\pterotype\actors\create_actor( $slug, 'user' );
} );
add_action( 'pterotype_init', function() {