Created
January 9, 2021 09:34
-
-
Save gvgvgvijayan/637e8fc9c2eb75d9c274c3f0ff3d7bef to your computer and use it in GitHub Desktop.
This gist is used in the tutorial https://www.vijayan.in/how-to-create-custom-table-list-in-wordpress-admin-page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
... | |
/** | |
* Display text for when there are no items. | |
*/ | |
public function no_items() { | |
esc_html_e( 'No posts found.', 'admin-table-tut' ); | |
} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment