Skip to content

Instantly share code, notes, and snippets.

@tripflex
Created August 6, 2019 19:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tripflex/77453ef6be6674cb90444f28e605f287 to your computer and use it in GitHub Desktop.
Save tripflex/77453ef6be6674cb90444f28e605f287 to your computer and use it in GitHub Desktop.
Remove auto output li actions from automatically using <li> on output
<?php
add_filter( 'field_editor_auto_output_li_actions', 'smyles_remove_li_actions' );
function smyles_remove_li_actions( $actions ){
if( isset( $actions['single_resume_meta_start'] ) ){
unset( $actions['single_resume_meta_start'] );
}
return $actions;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment