rwmb_after_save_field not firing on post save

Support General rwmb_after_save_field not firing on post saveResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #40211
    LRLR
    Participant

    Hi,

    I'm trying to get this filter to run when changing value of field on a custom post type, but it is not firing. What am I missing?

    add_action( 'rwmb_after_save_field', 'custom_function', 20, 5 );
    
    function custom_function( $null, $field, $new, $old, $object_id ) {
    	
        //Anything I do here has no effect.
    	
    }

    rwmb_{$field_id}_after_save_field also not working.

    #40212
    LRLR
    Participant

    Nevermind, I got it to work.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.