pbs_save_content

A filter to modify the post content to be saved. This is called when a save was initiated from the PBS editor.

Parameters

$content

String. The final post content to be saved.

$post_id

Int. The post id which we are saving.