Skip to main content
added 16 characters in body
Source Link
brasofilo
  • 22.1k
  • 8
  • 69
  • 264

Please consider this code:

global $pagenow, $page; if ( 'edit.php' = $pagenow && '123' == $post->ID ) { add_meta_box( $args ); }

global $pagenow, $page;
if ( 'edit.php' = $pagenow && '123' == $post->ID ) {
    add_meta_box( $args );
}

Please consider this code:

global $pagenow, $page; if ( 'edit.php' = $pagenow && '123' == $post->ID ) { add_meta_box( $args ); }

Please consider this code:

global $pagenow, $page;
if ( 'edit.php' = $pagenow && '123' == $post->ID ) {
    add_meta_box( $args );
}
Source Link

Please consider this code:

global $pagenow, $page; if ( 'edit.php' = $pagenow && '123' == $post->ID ) { add_meta_box( $args ); }