Plugin Directory

Changeset 1923839


Ignore:
Timestamp:
08/13/2018 05:48:30 AM (8 years ago)
Author:
iamntz
Message:

Doc update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • page-siblings/trunk/readme.txt

    r1923834 r1923839  
    2727You can choose to disable some (or all!) functionality by using filters. These filters are as following:
    2828
    29 1. Disable page siblings metabox completely:
     29**Disable page siblings metabox completely:**
    3030`add_filter('iamntz/page-siblings/add-page-metabox', '__return_false')`
    3131
     
    3333`add_filter("iamntz/page-siblings/add-page-metabox/post-type=my-custom-post-type", '__return_false')`
    3434
    35 3. Disable the dropdown that will allow you to filter page parents or page parents & children
     35**Disable the dropdown that will allow you to filter page parents or page parents & children**
    3636`add_filter('iamntz/page-siblings/add-hierarchy-column-filter', '__return_false')`
    3737
     
    3939`add_filter('iamntz/page-siblings/add-hierarchy-column-filter/post-type=my-custom-post-type', '__return_false')`
    4040
    41 5. Set the default value for the dropdown:
     41**Set the default value for the dropdown:**
    4242`add_filter('iamntz/page-siblings/add-hierarchy-column-filter', function() { return 'parents_only'; })`
    4343
Note: See TracChangeset for help on using the changeset viewer.