WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. ikivanov
    Member
    Posted 4 months 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 4 months ago #

    Dig here.

  3. Remco Tolsma
    Member
    Plugin Author

    Posted 4 months 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 4 months ago #

    Thanks

Reply

You must log in to post.

About this Plugin

About this Topic