Trying to add an action to a custom post type

Question

I have a custom post-type that I need to add a two state style button (Complete or Completed) The custom post type is a video so I want the client to be able to complete a workout. I am not super familiar with php but how would an action button like that look like. It would need to be a function as I am trying to hook into a buddypress hook

--------------------------------------------------

>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="https://www.wptricks.com/question/trying-to-add-an-action-to-a-custom-post-type/">

Trying to add an action to a custom post type</a>
0
, , , , Alexmatthew Candelario 8 months 0 Answers 35 views 0

Leave an answer