public function _add_meta_boxes( $post_type, $post ) {
		$post_type_object = get_post_type_object( $post_type );
		if ( empty( $post_type_object ) || empty( $post_type_object->public ) ) {
			return;
		}

		add_meta_box(
			'wp-seo',
			__( 'SEO', 'inc2734-wp-seo' ),
			array( $this, '_wp_seo_meta_box' ),
			$post_type,
			'normal'
		);
	}
public function _add_meta_boxes( $post_type, $post ) {
		$post_type_object = get_post_type_object( $post_type );
		if ( empty( $post_type_object ) || empty( $post_type_object->public ) ) {
			return;
		}

		add_meta_box(
			'wp-seo',
			__( 'SEO', 'inc2734-wp-seo' ),
			array( $this, '_wp_seo_meta_box' ),
			$post_type,
			'normal'
		);
	}
public function _add_meta_boxes ( $ post_type , $ post ) { $ post_type_object = get_post_type_object ( $ post_type ) ; if ( empty ( $ post_type_object ) || empty ( $ post_type_object -> public ) ) { return ; } add_meta_box ( 'wp-seo' , __ ( 'SEO' , 'inc2734-wp-seo' ) , array ( $ this , '_wp_seo_meta_box' ) , $ post_type , 'normal' ) ; }
Add meta box in pages of public post type

@param [string] $post_type
@param [WP_Post] $post
@return void
Add meta box in pages of public post type