Skip to content

Instantly share code, notes, and snippets.

@obiPlabon
Created August 18, 2021 04:22
Show Gist options
  • Save obiPlabon/2b33b3228cff6aac7ce38bbd06669981 to your computer and use it in GitHub Desktop.
Save obiPlabon/2b33b3228cff6aac7ce38bbd06669981 to your computer and use it in GitHub Desktop.
<?php
// If you want to add something before the form start
add_action( 'directorist_before_add_listing_from_frontend', function() {
?>
<!-- Add your code here -->
<?php
} );
// If you want to add something after the form end
add_action( 'directorist_after_submit_listing_frontend', function() {
?>
<!-- Add your code here -->
<?php
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment