KapostServiceTestHook::updateNewKapostPage
Hooks in to run additional tests during the data processing for newPost
Signature
public function updateNewKapostPage(KapostObject
$kapostObj,
string
$site_id,
array
$content,
int
$publish,
bool
$isPreview )
Parameters
$kapostObj
—
KapostObject
- Kapost Object instance to update
$site_id
—
string
- ID of the Site to be referenced
$content
—
array
- Content from Kapost to apply to the Kapost Object
$publish
—
int
- To publish on conversion or not
$isPreview
—
object
- Is preview mode or not (defaults to false)