fb_like_thumbnail_default
The Facebook Like Thumbnail fb like thumbnail default hook.
Description
apply_filters( 'fb_like_thumbnail_default', $self_options_default );
Parameters (1)
- 0. $self_options_default
- The self options default.
Usage
- To run the hook, copy the example below.
- $self_options_default = apply_filters( 'fb_like_thumbnail_default', $self_options_default );
- if ( !empty( $self_options_default ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the fb_like_thumbnail_default callback
- function filter_fb_like_thumbnail_default( $self_options_default ) {
- // make filter magic happen here...
- return $self_options_default;
- };
- // add the filter
- add_filter( 'fb_like_thumbnail_default', 'filter_fb_like_thumbnail_default', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'fb_like_thumbnail_default', 'filter_fb_like_thumbnail_default', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /facebook-like-thumbnail.php
- self::$meta_og_image = apply_filters( 'fb_like_thumbnail_default', self::$options['default'] );