• Resolved Jek-fdrv

    (@jek-fdrv)


    I wanna ask, if there a way to customize output html for some columns?
    I want instead of value show an line actions with ajax update functionality.
    May be some hook?

    • This topic was modified 4 years, 7 months ago by Jek-fdrv.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Jek-fdrv

    (@jek-fdrv)

    function my_admin_columns($field_value) {
    	global $post;
    	if($post->ID == 1) {
    		return 2;	
    	}
    	return $field_value;
    }
    add_filter('acf/admin_columns/column/status','my_admin_columns');
    

    Works! =) Thanks!

    Hey Jek-fdrv,
    cool, glad you could solve it!
    Best regards,
    Florian

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hook in to output html’ is closed to new replies.