initial commit!

This commit is contained in:
Remo Zaros
2026-05-07 16:35:15 +02:00
commit 179da8d2b2
6 changed files with 147 additions and 0 deletions

32
prijs-per-postcode.php Normal file
View File

@@ -0,0 +1,32 @@
<?php
require_once "session_dialog.php";
/*
* Plugin Name: Prijs per Postcode
* Description: veschillende prijzen per postdoce. een range posctcodes zijn "lokaal" andere zijn overig
* Author: Remo Zaros
* Version: 0.0.1
* Text Domeain: prijs-per-postcode
*/
if (!defined("ABSPATH")) {
echo "big bag of potatoes";
exit();
}
class PrijsPerPostcode
{
public function __construct()
{
add_action("init", [$this, "init"]);
add_action("rest_api_init", "register_modal_api");
}
public function init()
{
$uri = $_SERVER["REQUEST_URI"];
if_needed_place_postcode_form($uri);
}
}
new PrijsPerPostcode();