Title: Meaning of code
Last modified: August 21, 2016

---

# Meaning of code

 *  [chadev](https://wordpress.org/support/users/chadev/)
 * (@chadev)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/meaning-of-code/)
 * Could anyone please tell me the meaning or implication of each line of code? 
   Thanks
    $excerpt = preg_replace(” (\[.*?\])”,”,$excerpt);
 * $excerpt = strip_shortcodes($excerpt);
 * $excerpt = strip_tags($excerpt);
 * $excerpt = substr($excerpt, 0, 250);
 * $excerpt = substr($excerpt, 0, strripos($excerpt, ” “));
 * $excerpt = trim(preg_replace( ‘/\s+/’, ‘ ‘, $excerpt));

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/meaning-of-code/#post-4528552)
 * These are all native PHP functions, soi I suggest that you try looking them up
   at [http://www.php.net/manual/](http://www.php.net/manual/)

Viewing 1 replies (of 1 total)

The topic ‘Meaning of code’ is closed to new replies.

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/meaning-of-code/#post-4528552)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
