Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cristianstan/df01119611a9f9b813e9cb20a95be555 to your computer and use it in GitHub Desktop.
Save cristianstan/df01119611a9f9b813e9cb20a95be555 to your computer and use it in GitHub Desktop.
Dokan add product before popup form html.php
<?php
add_action('dokan_new_product_before_product_area','ibid_dokan_before_popup_form');
function ibid_dokan_before_popup_form(){
?>
<div class="my-class relative">Hello There</div>
<style type="text/css">
.my-class.relative {
position: absolute;
top: 20px;
padding-left: 20px;
}
</style>
<?php
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment