Support » Plugins » Turn off notify setting in code?

  • I am working on the Blogger to WordPress importer and whilst testing I was told that I’d generated a lot of pingbacks on another’s blog.

    I appreciate that I can turn this off under settings->Discussions

    “Attempt to notify any blogs linked to from the article”

    But my question is, can I do that in code, eiter when creating the posts or before running?

Viewing 1 replies (of 1 total)
  • Thread Starter Workshopshed

    (@workshopshed)

    I’ve found this out. My options are to update the option “default_pingback_flag” to zero or to directly flag the posts when I add them with $post->post_pingback = 0.

Viewing 1 replies (of 1 total)
  • The topic ‘Turn off notify setting in code?’ is closed to new replies.