California Penal Code § 1237.5
Text of § 1237.5
No appeal shall be taken by the defendant from a judgment of conviction upon a plea of guilty or nolo contendere, or a revocation of probation following an admission of violation, except where both of the following are met:
(a) The defendant has filed with the trial court a written statement, executed under oath or penalty of perjury showing reasonable constitutional, jurisdictional, or other grounds going to the legality of the proceedings.
(b) The trial court has executed and filed a certificate of probable cause for such appeal with the clerk of the court.
Cite this section
Cal. Penal Code § 1237.5
https://lawconsensus.com/codes/california/penal-code/1237-5/
LawCensus reproduces the text of the law for reference. It may not show the most recent changes. Check the official source before you rely on it: official text. This is general information, not legal advice.