tp TouchPointWP Utilities Database - TenthPres/TouchPoint-WP GitHub Wiki

tp\TouchPointWP\Utilities\Database

Used for database actions that are relatively generic.

  • Class name: Database
  • Namespace: \tp\TouchPointWP\Utilities
  • This is an abstract class

Methods

deletePostMetaByPrefix

bool tp\TouchPointWP\Utilities\Database::deletePostMetaByPrefix(int postId, string prefix)

Deleted all post meta for a given post that starts with a given prefix.

  • Visibility: public
  • This method is static.

Arguments

  • postId int* prefix string

Returns

  • bool -