miya/custom-field-map

Installs: 260

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Language:HTML

pkg:composer/miya/custom-field-map

3.2.0 2018-07-30 18:34 UTC

This package is not auto-updated.

Last update: 2025-10-12 09:16:16 UTC


README

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

Add a custom field to save latitude and longitude to the edit screen of the specific post type for WordPress.

Install

$ composer require miya/custom-field-map

How to use

<?php

require_once( dirname( __FILE__ ) . '/vendor/autoload.php' );

$map = new \Miya\WP\Custom_Field\Map( 'latlng', 'Latitude and Longitude' );
$map->add( 'post' ); // Set post type to display meta box.