Last active
April 26, 2021 17:19
-
-
Save joseconti/32f2cb9405c8eb6873d9d15fce1c2b1a to your computer and use it in GitHub Desktop.
Añadir metaboxes de The7 a un Custom Post Type
This file contains hidden or 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 | |
function anadir_metaboxes_the7_a_cpt( $post_type_array ) { | |
$post_type_array[] = 'nombre_custom_post_type'; | |
return $post_type_array; | |
} | |
add_filter( 'presscore_pages_with_basic_meta_boxes', 'anadir_metaboxes_the7_a_cpt' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment