(a) A judicial official may orally order that a person he is charging with direct criminal contempt be taken into custody and restrained to the extent necessary to assure his presence for summary proceedings or notice of plenary proceedings.
(b) If a judicial official who initiates plenary proceedings for contempt under G.S. 5A-15 finds, based on sworn statement or affidavit, probable cause to believe the person ordered to appear will not appear in response to the order, he may issue an order for arrest of the person, pursuant to G.S. 15A-305. A person arrested under this subsection is entitled to release under the provisions of Article 26, Bail, of Chapter 15A of the General Statutes. (1977, c. 711, s. 3.)