Plugin Directory

Changeset 207736


Ignore:
Timestamp:
02/18/2010 09:20:10 PM (16 years ago)
Author:
guyfisher
Message:

Added phpDoc inline documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • striptease/branches/2.0/striptease.php

    r203402 r207736  
    11<?php
     2
     3/**
     4 * A WordPress plugin that strips the "#more" fragments from the end of "Read More" teaser links.
     5 *
     6 * @package StripTease
     7 * @link http://guyfisher.com/builder/striptease/
     8 * @author Guy Fisher
     9 * @copyright Copyright © 2010 Guy M. Fisher
     10 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
     11 * @version 2.0
     12 */
    213
    314/*
     
    2637*/
    2738
     39/**
     40 * Strips the #more-$id fragments from the end of "Read More" teaser links.
     41 *
     42 * Filters the $more_link string passed from the_content_more_link filter
     43 * in the get_the_content() function.
     44 *
     45 * @since 2.0
     46 *
     47 * @global int Post ID
     48 * @param string $more_link HTML markup for teaser link
     49 * @return string HTML markup with #more-$id fragment stripped off
     50 */
    2851function striptease_more_link( $more_link ) {
    2952    global $id;
Note: See TracChangeset for help on using the changeset viewer.