As a PHP programmer you can use the WP Data Access classes to add full CRUD table pages to your own dashboard menus. Read the example code below to learn how.
Generate API Documentation Start the command line interface Navigate to the plugin root folder Enter the following commands: composer require −−dev phpdocumentor/phpdocumentor dev-master php vendor/phpdocumentor/phpdocumentor/bin/phpdoc.php Navigate to subfolder docs Open file index.html in your favourite browser Remove API Documentation Start the command line interface Navigate to the plugin root folder Enter the following command: composer […]
Two action hooks were added to enhance searching: wpda_add_search_actions and wpda_add_search_filter. Use these actions to customize the search box of your list table. These action hooks apply to WordPress list tables only. They do not affect publications. Action hook wpda_add_search_actions Added to allow developers to add actions to the search bar (e.g. an icon). Action […]
To create a fully responsive publication: Open your publication in the Data Publisher Set output to responsive Set number of columns to 0 Save your publication If you want all devices to show the same (fixed) number of columns, set number of columns > 0 (= number of columns shown).
Dynamic hyperlinks is a feature that allows plugin users to add hyperlinks to tables and views. A dynamic hyperlink is generated on the fly. Column variables can be added to a hyperlink and are substituted on generation. Example To add a dynamic hyperlink to a table or view: Start the Data Explorer Click on the […]
JSON editor/validator The code editor was added to the table options advanced column in the Data Publisher. The content of this column must be valid JSON. By default the code editor helps to check if the content is valid JSON while being entered. Disable JSON editor/validator The JSON entered in the table options advanced column […]
The new version allows plugin users to show multiple publications of the same database table on a web page. This also allows you to test your publications directly from the Data Publisher menu. To offer this functionality the publication ID was added to the ID of the HTML table (to make it unique). A 0 […]