Skip to content

Instantly share code, notes, and snippets.

@gvgvgvijayan
Created January 3, 2021 08:29
Show Gist options
  • Save gvgvgvijayan/d8d6d761e309a286fd482721c4d0f526 to your computer and use it in GitHub Desktop.
Save gvgvgvijayan/d8d6d761e309a286fd482721c4d0f526 to your computer and use it in GitHub Desktop.
<?php
...
/**
* Const to declare number of posts to show per page in the table.
*/
const POSTS_PER_PAGE = 10;
/**
* Property to store post types
*
* @var array Array of post types
*/
private $allowed_post_types;
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment