Jump to content

How I can create Route in prestashop 1.7


S.A

Recommended Posts

Hello 

In wordpress can create the route in this way 

public function routes()

{

first_route(

'first/v2',

'route/initiated',

array(

'methods' => WP_REST_Server::EDITABLE,

'callback' => array($this, ''),

'permission_callback' => '__return_true',

)

);

How I can do same this in prestashop?

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...