Skip to:
Content
Pages
Categories
Search
Top
Bottom

Unregistered action on Activity admin screen


  • ndh01
    Participant

    @ndh01

    Hello,

    I’m creating a few activity entries when a user creates a CPT on the site. When viewing the Activity admin screen, these entries have “Unregistered action – created_recipe” in the Action column.

    Is there a way to register the action?

    Thank you

    Here is how I am creating the entries:

    bp_activity_add( array(
    		'user_id' => bp_loggedin_user_id(),
    		'action' => apply_filters( 'xprofile_new_avatar_action', sprintf( __( '%1$s Created a recipe: %2$s', 'buddypress' ), $userlink, $recipe_link ), bp_loggedin_user_id() ),
    		'component' => 'nutrition',
    		'type' => 'created_recipe'
    		) );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unregistered action on Activity admin screen’ is closed to new replies.
Skip to toolbar