WordPress.org

Forums

Pronamic Google Maps
[resolved] Make Pronamic Google Maps required field (4 posts)

  1. ikivanov
    Member
    Posted 1 year ago #

    Any idea how to make Pronamic Google Maps a required field? I need my authors not to be able to publish or submit for review post without Pronamic Google Maps set.

    Thanks

    https://wordpress.org/plugins/pronamic-google-maps/

  2. unclego
    Member
    Posted 1 year ago #

    Dig here.

  3. Remco Tolsma
    Member
    Plugin Author

    Posted 1 year ago #

    I think @unclego pointed you to the correct WordPress action. You can hook into the 'save_post' action to check if the Google Maps meta information is set. If it's not set you can override the post status back to concept. You should also think of a way to make it clear to your author that they need to fill in the Google Maps info. The Pronamic Google Maps doesn't have a solution for this.

  4. ikivanov
    Member
    Posted 1 year ago #

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Pronamic Google Maps
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic