acf/update_{$this->hook_name}_active_status

acf/update_{$this->hook_name}_active_status

Hook Type: action

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.2.1

do_action('acf/update_{$this->hook_name}_active_status') is found 1 times:

  • /includes/class-acf-internal-post-type.php line 785
    			 * @since 6.0.0
    			 *
    			 * @param array $updated_post The updated ACF post array.
    			 */
    			do_action( "acf/update_{$this->hook_name}_active_status", $updated_post );
    
    			if ( ! isset( $updated_post['active'] ) || $activate !== $updated_post['active'] ) {
    				return false;
    			}
    
    			return true;