add filter to check page id before create new page

Please add this filter to check page id before create / not create new page ( in WPML code this filter need to check page language )

Thanks