<?php
/**
 * Metabox definition for the 'client' post type.
 *
 * @package Sifency
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
return array(
	'sifency_stack_metabox' => array(
		'title'     => esc_html__( 'Stack Information', 'sifency-addons' ),
		'post_type' => 'stack',
		'context'   => 'normal',
		'priority'  => 'high',
		'class'     => 'sifency-metabox',
		'fields'    => array(
			array(
				'id'    => 'stack_img',
				'type'  => 'media',
				'title' => esc_html__( 'Stack Logo', 'sifency-addons' ),
				'desc'  => esc_html__( 'Upload the stack company logo.', 'sifency-addons' ),
			),
			array(
				'id'    => 'stack_link',
				'type'  => 'url',
				'title' => esc_html__( 'URL', 'sifency-addons' ),
				'desc'  => esc_html__( 'Add a link to the stack\'s website.', 'sifency-addons' ),
			),
		),
	),
);
