public function searchHead() {
		$assets = new Assets( 'pressbooks', 'plugin' );
		wp_enqueue_style( 'search-and-replace', $assets->getPath( 'styles/search-and-replace.css' ) );
		wp_register_script( 'search-and-replace', $assets->getPath( 'scripts/search-and-replace.js' ) );
		wp_localize_script( 'search-and-replace', 'pb_sr', $this->getL10n() );
		wp_enqueue_script( 'search-and-replace' );
	}
public function searchHead() {
		$assets = new Assets( 'pressbooks', 'plugin' );
		wp_enqueue_style( 'search-and-replace', $assets->getPath( 'styles/search-and-replace.css' ) );
		wp_register_script( 'search-and-replace', $assets->getPath( 'scripts/search-and-replace.js' ) );
		wp_localize_script( 'search-and-replace', 'pb_sr', $this->getL10n() );
		wp_enqueue_script( 'search-and-replace' );
	}
public function searchHead ( ) { $ assets = new Assets ( 'pressbooks' , 'plugin' ) ; wp_enqueue_style ( 'search-and-replace' , $ assets -> getPath ( 'styles/search-and-replace.css' ) ) ; wp_register_script ( 'search-and-replace' , $ assets -> getPath ( 'scripts/search-and-replace.js' ) ) ; wp_localize_script ( 'search-and-replace' , 'pb_sr' , $ this -> getL10n ( ) ) ; wp_enqueue_script ( 'search-and-replace' ) ; }
Load styles and scripts
Load styles and scripts