Questions tagged [action-hook]

An Action Hook is an entry point into application and platform lifecycle operations on OpenShift by Red Hat.

OpenShift by Red Hat provides application developers entry points into various application and platform lifecycle operations. These entry points are referred to as "action hooks", and have a special location within the application’s Git repository.

During any OpenShift process which supports an action hook, the application action hook directory will be checked for an executable file matching the specified name. If such a file is present, it will be executed before returning control to the process.

21 questions
0
votes
1 answer

show the number of lesson views for learnpress plugin

hello I have this code snippet in function.php that actually I used a learnpress plugin hook for it: learn-press/course-item-content also I tried this one: learn-press/lesson-start and the goal is to have the number of learnpress lesson views for…
yahya
  • 65
  • 1
  • 7
0
votes
1 answer

Cannot find which action hook to use for Woocommerce order notes

I am trying to fire a function when Woocommerce adds an order note to an order. I am done with testing with my function and its works well. But only the right time to fire it is when an order note is added. A tracking company adds tracking code to…
0
votes
1 answer

WP - change usermeta value with metabox value via save_post hook

I have a CPT with 2 metaboxes. 1 = mv_facility_code 2 = mv_facility_email All users have dB columns user_facility and user_facility_email When a site admin goes into the CPT and changes the mv_facility_email I'm trying to find all users who's…
Eric Brockman
  • 824
  • 2
  • 10
  • 37
0
votes
0 answers

Wordpress: Everything I write outside of php tag is logged to console

In my functions.php I'm creating a Woocommerce simple hook, in which I'm intending to use javascript: function mysite_woocommerce_payment_complete( $order_id ) { $order = wc_get_order( $order_id ); ?> HELLO