src/controller/admin/class-rating.php
public function render_meta_boxes( $post ) {

		App::setCurrentID( 'EFG' );

		wp_nonce_field( '_rating_movie_nonce', 'rating_movie_nonce' );

		$meta_boxes = Module::CustomRatingGrifus()->getOption( 'path', 'meta-boxes' );

		$data = [ 'votes' => $this->model->get_movie_votes( $post->ID ) ];

		$this->view->renderizate( $meta_boxes, 'wp-insert-post', $data );
	}
public function render_meta_boxes( $post ) {

		App::setCurrentID( 'EFG' );

		wp_nonce_field( '_rating_movie_nonce', 'rating_movie_nonce' );

		$meta_boxes = Module::CustomRatingGrifus()->getOption( 'path', 'meta-boxes' );

		$data = [ 'votes' => $this->model->get_movie_votes( $post->ID ) ];

		$this->view->renderizate( $meta_boxes, 'wp-insert-post', $data );
	}
Renderizate post meta boxes.

@since 1.0.1

@param object $post → (WP_Post) post object.