Skip to content
  • This project
    • Loading...
  • Sign in

Jeff Balicki / st_joseph

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • st_joseph
  • wp-content
  • plugins
  • favorites
  • app
  • Favorites.php
  • Jeff Balicki's avatar
    resources fav and style · f1ab8192 ...
    f1ab8192
    Signed-off-by: Jeff <jeff@gotenzing.com>
    Jeff Balicki committed 2023-02-03 17:59:24 -0500
Favorites.php 398 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<?php 
/**
* Static Wrapper for Bootstrap Class
* Prevents T_STRING error when checking for 5.3.2
*/
class Favorites 
{
	public static function init()
	{
		// dev/live
		global $favorites_env;
		$favorites_env = 'live';

		global $favorites_version;
		$favorites_version = '2.3.2';

		global $favorites_name;
		$favorites_name = __('Favorites', 'favorites');

		$app = new Favorites\Bootstrap;
	}
}