Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 853 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 853 Bytes

wp-ajaxify

Class abstraction for making ajax implementation more straightforward. classes/class-ajax-abstract.php

This class provides an abstract wrapper for making the implementation of ajax actions in WordPress more straightforward.

Usage:

  • Extend the abstract class by your own class.
  • Add the necessary methods within the class and make use of the abstract's class helpers
  • Launch a new instance of your class and indicate the scope.
  • Your actions are automatically registered and can be accessed through your JS ajax functions.

Usage:

  • Extend the abstract class by your own class.
  • Add the necessary methods within the class and make use of the abstract's class helpers
  • Launch a new instance of your class and indicate the scope.
  • Your actions are automatically registered and can be accessed through your JS ajax functions