Created
August 6, 2019 19:29
-
-
Save tripflex/77453ef6be6674cb90444f28e605f287 to your computer and use it in GitHub Desktop.
Remove auto output li actions from automatically using <li> on output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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