| 开发者 | naiches |
|---|---|
| 更新时间 | 2026年7月15日 18:18 |
| PHP版本: | 8.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/ or install via Plugins → Add New.If your theme already has a vehicle/occasion post type, select that. Otherwise, use the built-in "Mobilox Vehicle" type. You can change this at any time — existing vehicles will continue to work.
Use mobilox_get_vehicle( $post_id ) to get the full data object, or mobilox_get_field( 'field.name' ) for a single field. Field names match the Mobilox XML element names (e.g. general.make.name, powertrain.engine.power.pk).
By default, the endpoint is open (for easy setup). Go to Settings to add a secret token or HTTP Basic Auth credentials.
verkoopprijs_particulier → prijs → bedrag), but the DV schema places it directly at verkoopprijs_particulier → bedrag, so prices were stored as 0. The price is now read from the correct element, with a fallback for feeds that wrap it in a <prijs> node.opmerkingen) is now saved to the post content, so themes that render the_content() show the full description.<titel> element.voertuig.xsd (2.21) element names — voertuignr_hexon, merk, model, tellerstand, verkoopprijs_particulier, afbeeldingen, verkocht — so make, model, price, mileage, fuel, build year, sold status, and photos are stored correctly."1"), which the DV client rejected as "Answer unequal to '1'" — every push was reported as failed even when the vehicle was stored. The endpoint now returns a bare 1 / 0.post_type, which shadows a reserved WordPress admin request variable used to resolve the current admin page, making the page-hook lookup fail on save. All settings fields are now plugin-prefixed so they can't collide with core request vars or other plugins.