Use backslash
"Workers\'_Compensation";
Inside a selector you would require 2 of them "Workers\\'_Compensation";
Related Posts:
- What are all the escape characters?
- What characters do I need to escape in XML documents?
- Illegal Escape Character “\”
- What characters must be escaped in HTML 5?
- How can I selectively escape percent (%) in Python strings?
- Escape Character in SQL Server
- How to escape apostrophe (‘) in MySql?
- Invalid escape sequence (valid ones are \b \t \n \f \r \” \’ \\ )
- Should HTML output be passed through esc_html() AND wp_kses()?
- How to prevent escaping when saving HTML code in an option value?
- How to correctly escape query variables to be used in WP_Query
- esc_attr / esc_html / esc_url in echos
- When do I need to use esc_html()? [duplicate]
- what’s different between esc_attr, htmlspecialchars and htmlentities
- Allow all attributes in $allowedposttags tags
- When outputting a static string to the page, is it necessary to escape the output?
- How Flexible are the WordPress Coding Standards for PHPCS?
- why is esc_html() returning nothing given a string containing a high-bit character?
- How to properly escape a translated string?
- Translate a Constant while appeasing WordPress PHPCS
- Using esc_url() on a url more than once
- Do I need to escape get_theme_mod(‘url’) / (‘mail’) with esc_url?
- How to allow   with wp_kses()?
- Using esc_attr_e
- Why esc_html_() is not used on every text that has a translation (on Twenty Twenty One)?
- Escaping crashes my output
- How to safely escape the title attribute
- How to safely escape data that contains HTML attributes
- Can wp_strip_all_tags be used as a substitute for esc_url, esc_attr & esc_html?
- Echoing a URL to a link
- wp_kses_post escaping doesn’t appear to work as described?
- file_get_contents | escaping doesnt show the page
- Help about Escaping
- How to keep specific tag from an html string?
- Escaping Issues
- Escaping and Special Characters (e.g. &)
- Escaping get_option( ‘time_format’ ) is nesserary?
- How should esc_url be combined with trailingslashit?
- Correct way of using esc_attr() and esc_html()
- What does “Could not find or load main class” mean?
- Implementing UML diagram to Java [closed]
- Reading a plain text file in Java
- How to deal with “java.lang.OutOfMemoryError: Java heap space” error?
- Converting double to integer in Java
- Difference between HashSet and HashMap?
- How to split a String by space
- Java compile error: “reached end of file while parsing }”
- Exception in thread “main” java.util.NoSuchElementException: No line found
- Java Method Call Expected
- What is the Java ?: operator called and what does it do?
- Convert character to ASCII numeric value in java
- How to replace ” \ ” with ” \\ ” in java
- Using @RequestLine with Feign
- What is the best/simplest way to read in an XML file in Java application?
- Which characters need to be escaped when using Bash?
- Received fatal alert: handshake_failure through SSLHandshakeException
- DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704
- Why would a “java.net.ConnectException: Connection timed out” exception occur when URL is up?
- HashSet vs. ArrayList
- FIFO based Queue implementations?
- How to round up the result of integer division?
- java.sql.SQLException: Access denied for user ‘root’@’localhost’ (using password: YES)
- java howto ArrayList push, pop, shift, and unshift
- Error Message: Can’t determine a valid Java Home
- How to use Class
in Java? - How can I fix ‘android.os.NetworkOnMainThreadException’?
- Caused by: java.security.UnrecoverableKeyException: Cannot recover key
- How can I truncate a double to only two decimal places in Java?
- How do I add a simple jQuery script to WordPress?
- I get the error int cannot be converted to boolean?c
- Can’t install JDK 9 because “Another Java installation is in progress”
- java.sql.SQLException: No database selected – why?
- Java: How to access methods from another class
- Cannot make a static reference to the non-static method fxn(int) from the type Two
- What is causing this Java “Cannot find symbol” error?
- What does equals(Object obj) do?
- How do I make the method return type generic?
- Why do some classes require main methods and others do not?
- java.util.IllegalFormatConversionException
- HashSet vs LinkedHashSet
- What do F and D mean at the end of numeric literals?
- Coding Conventions – Naming Enums
- Sort ArrayList of custom Objects by property
- Java better way to delete file if exists
- How to send HTTP request in java? [duplicate]
- Is there an equivalent to the Scanner class in C# for strings?
- syntax error: insert } to complete ClassBody
- How to print the value of variable in java [duplicate]
- File to byte[] in Java
- Eclipse: JVM terminated. Exit code=2
- Mockito : doAnswer Vs thenReturn
- How Do I Implement an Insertion Sort Method for A Generic ArrayList?
- Troubleshooting “The type parameter T is hiding the type T” warning
- model.addAttribute() parameters
- Do you need to escape hard coded plain text?
- Escape post image attachments added to template
- Remove pre and code tags from WordPress
- Correct form of escaping and localization – functions.php breadcrumbs
- Escaping and sanitization
- How to display post meta data in secure manner