1. Home
  2. Docs
  3. Index
  4. Server Code <span class="dashicons dashicons-superhero-alt" style="font-size:150%"></span>
  5. Library Code (PHP)

Library Code (PHP)

Write reusable PHP classes and functions, and use them in back-end code, front-end code and PHP shortcodes.

Your imagination is the limit!

Example code

A simple class to demonstrate library class usage.

Use class from back-end code

Please note that the code_manager_data_service class from this demo can also be used in front-end code and PHP shortcodes.

Result

Please try the following URLs to see the demo in action:

 

Was this article helpful to you? Yes No

Leave a Reply

Your email address will not be published.

11 − nine =