Whenever any publication, or notice by publication, or official advertising is required by any law of the State to be given or made by any State, county or city officer, by the officer of any political subdivision of the State, or by any officer of any court, the publication, notice by publication, or official advertising shall be given or made only in a newspaper of general circulation published within the jurisdiction of the officer.